-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
feat: make Deno capture unhandled exceptions and rejections and report them to the server #33997
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 0f61200 The changes in this PR will be included in the next version bump. This PR includes changesets to release 38 packages
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 |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33997 +/- ##
========================================
Coverage 75.79% 75.79%
========================================
Files 510 510
Lines 22063 22063
Branches 5385 5385
========================================
Hits 16723 16723
Misses 4694 4694
Partials 646 646
Flags with carried forward coverage won't be shown. Click here to find out more.
|
0857b39
to
b41b2fe
Compare
- [make Deno capture unhandled exceptions and rejections and report them to the server](RocketChat/Rocket.Chat#33997) - [apps-engine timeout config](RocketChat/Rocket.Chat#33690)
/backport 7.0.1 |
Sorry, I couldn't do that backport because of conflicts. Could you please solve them? you can do so by running the following commands:
after that just run |
…t them to the server (#33997)
/backport 7.0.1 |
Pull request #34150 added to Project: "Patch 7.0.1" |
Proposed changes (including videos or screenshots)
The Deno subprocess will now catch any unhandled exceptions or rejections that happen and report those to the host process. These types of errors cause the subprocess to exit with code 1, so capturing and preventing them will make the apps more stable.
Uncaught exceptions should be rare, but unhandled promise rejections can be common if the app doesn't properly handle errors on its side.
Issue(s)
CONN-354
Steps to test or reproduce
Further comments