Skip to content

Simplify error handling in finishCheckIn callback. #16757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

0xbad0c0d3
Copy link
Contributor

@0xbad0c0d3 0xbad0c0d3 commented Jun 27, 2025

Throwing an error inside catch block will produce unhandled exception and, as a result - crash.
fixes #16749

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Replaced the error callback to streamline behavior by removing the unnecessary error throwing. This ensures a cleaner flow while maintaining intended functionality.
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.

withMonitor causes server to crash when callback throws an error
1 participant