From 7d72187fedc04aa75bc340f71831624b3186cd8b Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 5 Jun 2025 19:25:26 -0400 Subject: [PATCH] remove unnecessary handle_error invocation --- packages/svelte/src/internal/client/dom/blocks/boundary.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/svelte/src/internal/client/dom/blocks/boundary.js b/packages/svelte/src/internal/client/dom/blocks/boundary.js index 0eb00bf630..064c521218 100644 --- a/packages/svelte/src/internal/client/dom/blocks/boundary.js +++ b/packages/svelte/src/internal/client/dom/blocks/boundary.js @@ -2,7 +2,7 @@ import { BOUNDARY_EFFECT, EFFECT_TRANSPARENT } from '#client/constants'; import { component_context, set_component_context } from '../../context.js'; -import { handle_error, reset_is_throwing_error } from '../../error-handling.js'; +import { reset_is_throwing_error } from '../../error-handling.js'; import { block, branch, destroy_effect, pause_effect } from '../../reactivity/effects.js'; import { active_effect, @@ -107,8 +107,8 @@ export function boundary(node, props, boundary_fn) { () => reset ); }); - } catch (error) { - handle_error(error, boundary); + } catch { + // do nothing, handle_error has already been invoked } reset_is_throwing_error();