Skip to content

fix: avoid recursive error handling#13295

Open
seekskyworld wants to merge 1 commit intovuejs:mainfrom
seekskyworld:fix/13241-error-handler-recursion-clean
Open

fix: avoid recursive error handling#13295
seekskyworld wants to merge 1 commit intovuejs:mainfrom
seekskyworld:fix/13241-error-handler-recursion-clean

Conversation

@seekskyworld
Copy link

Issue

Fixes #13241

Summary

  • guard config.errorHandler against re-entrancy to avoid recursive handling
  • add regression coverage for errorHandler-triggered errors

Motivation

Custom error handlers can trigger errors (e.g. via events), which re-enters error handling and can overflow the stack.

Validation

  • pnpm test:unit -- test/unit/features/error-handling.spec.ts

@seekskyworld seekskyworld force-pushed the fix/13241-error-handler-recursion-clean branch from 61d6557 to c7f2b8b Compare January 12, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom error handler causing recursive error handling leading to Maximum call stack size exceeded error

2 participants