svelte-hmr icon indicating copy to clipboard operation
svelte-hmr copied to clipboard

Make sure to display the error message on overlay

Open maxlath opened this issue 2 years ago • 2 comments

as some errors might be passed to addError with a stack attribute not including the error message

maxlath avatar Mar 16 '23 14:03 maxlath

Hi! Thanks for your interest in making svelte-hmr better, but to be honest this overlay is kind of headed toward the exit door. It surely won't make it to the next major version of svelte-hmr.

I am curious about your use case, though. The overlay is disabled with Vite, so are you using Webpack? Rollup? And how is this specific overlay useful to you? (Or annoying, since apparently it eats your error message? :sweat_smile: )

rixo avatar Mar 17 '23 20:03 rixo

I work on a project where we are sticking with webpack, as we are still phasing out our Backbone+Handlebars legacy code in favor of Svelte, and thus still use svelte-loader during the transition. The overlay is then quite useful to get a quick feedback on failing code; that is, unless it eats error messages indeed ^^

maxlath avatar Mar 18 '23 10:03 maxlath