Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Dec 3, 2024
1 parent 9d8717d commit 431cca8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/svelte/src/internal/client/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,10 @@ function infinite_loop_guard() {
if (DEV) {
try {
handle_error(error, last_scheduled_effect, null, null);
} catch {
} catch (e) {
// Only log the effect stack if the error is re-thrown
log_effect_stack();
throw e;
}
} else {
handle_error(error, last_scheduled_effect, null, null);
Expand Down

0 comments on commit 431cca8

Please sign in to comment.