Skip to content

Commit 0bbceee

Browse files
committed
unused
1 parent 0e09115 commit 0bbceee

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/svelte/src/internal/client/error-handling.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ function adjust_error(error, effect) {
7676
value: error.message + `\n${component_stack.map((name) => `\n${indent}in ${name}`).join('')}\n`
7777
});
7878

79-
// TODO what is this for? can we get rid of it?
80-
define_property(error, 'component_stack', {
81-
value: component_stack
82-
});
83-
8479
// Filter out internal files from callstack
8580
if (error.stack) {
8681
define_property(error, 'stack', {

0 commit comments

Comments
 (0)