pull/16091/head
Rich Harris 4 months ago
parent 0e091157a9
commit 0bbceee45f

@ -76,11 +76,6 @@ function adjust_error(error, effect) {
value: error.message + `\n${component_stack.map((name) => `\n${indent}in ${name}`).join('')}\n` value: error.message + `\n${component_stack.map((name) => `\n${indent}in ${name}`).join('')}\n`
}); });
// TODO what is this for? can we get rid of it?
define_property(error, 'component_stack', {
value: component_stack
});
// Filter out internal files from callstack // Filter out internal files from callstack
if (error.stack) { if (error.stack) {
define_property(error, 'stack', { define_property(error, 'stack', {

Loading…
Cancel
Save