Skip to content

Conversation

@JacobLinCool
Copy link
Owner

@JacobLinCool JacobLinCool commented Aug 1, 2025

resolve #34

This pull request simplifies error handling in the Tunnel class within src/tunnel.ts by removing redundant event listeners for the error event.

Key change:

  • src/tunnel.ts: Removed .on("error", ...) listeners from both stdout and stderr event handlers in the Tunnel class, as they were redundant and the error event is already handled elsewhere.

@JacobLinCool JacobLinCool self-assigned this Aug 1, 2025
@changeset-bot
Copy link

changeset-bot bot commented Aug 1, 2025

🦋 Changeset detected

Latest commit: 0f67517

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JacobLinCool JacobLinCool merged commit 4b76aa2 into main Aug 1, 2025
15 checks passed
@github-actions github-actions bot mentioned this pull request Aug 1, 2025
@JacobLinCool JacobLinCool deleted the fix-error-handling branch August 1, 2025 13:57
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.

Error starting a tunnel: "RangeError: Maximum call stack size exceeded"

2 participants