Skip to content

Commit 431cca8

Browse files
committed
fix
1 parent 9d8717d commit 431cca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,10 @@ function infinite_loop_guard() {
562562
if (DEV) {
563563
try {
564564
handle_error(error, last_scheduled_effect, null, null);
565-
} catch {
565+
} catch (e) {
566566
// Only log the effect stack if the error is re-thrown
567567
log_effect_stack();
568+
throw e;
568569
}
569570
} else {
570571
handle_error(error, last_scheduled_effect, null, null);

0 commit comments

Comments
 (0)