remove unnecessary handle_error invocation

pull/16091/head
Rich Harris 4 months ago
parent f077415e43
commit 7d72187fed

@ -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();

Loading…
Cancel
Save