-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
fix: Avoid notifying watch.settings
on uncaught errors
#33376
Conversation
Looks like this PR is ready to merge! 🎉 |
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33376 +/- ##
========================================
Coverage 58.35% 58.35%
========================================
Files 2692 2692
Lines 65265 65265
Branches 14730 14730
========================================
Hits 38084 38084
Misses 24403 24403
Partials 2778 2778
Flags with carried forward coverage won't be shown. Click here to find out more. |
…ocket.Chat into feat/airgapped-restrictions * 'feat/airgapped-restrictions' of github.com:RocketChat/Rocket.Chat: (57 commits) fix: Async E2EE key exchange not working on develop (#33378) chore: Move Apps-Engine to monorepo (#32951) chore(Sidepanel): uses only local channels and discussions (#33387) chore: add gazzodown preview (#33279) fix: Avoid notifying `watch.settings` on uncaught errors (#33376) fix: race condition when forwarding livechat by splitting subscription removal (#33381) chore: Single Contact ID: improved typings and removed some duplicated code (#33324) ci: remove Jira-GitHub security integration (#33384) chore: add ui-composer to storybook (#33383) regression: `Sidepanel` sort requires refresh after room update (#33370) ci: use node20 for release action (#33343) Bump rocket.chat to 6.14.0-develop (#33366) chore: replace Meteor._localStorage -> Accounts.storageLocation (#33356) Release 6.13.0-rc.1 fix: Avoid destructuring `connectionData` when value is undefined (#33339) feat: Adds new admin feature preview setting management (#33212) regression: `Sidepanel` color highlight (#33342) chore: move common files to core-services (#33341) feat: Adds new admin feature preview setting management (#33212) chore: create network broker package (#33338) ...
…ocket.Chat into airgapped/composer-restriction * 'feat/airgapped-restrictions' of github.com:RocketChat/Rocket.Chat: (27 commits) review fix: skip invalid test for now consolidate restriction logic inside module remove constant from restriction module fix changeset Move tests to test folder remove wrong import fix proxyquire for airGappedRestrictionsCheck.ts test fix fix: Async E2EE key exchange not working on develop (#33378) Fix airgappedRestrictionswrapper tests Fix airgappedRestrictionCheck tests undo fix AirGappedRestriction logic Update logic and tests chore: Move Apps-Engine to monorepo (#32951) chore(Sidepanel): uses only local channels and discussions (#33387) chore: add gazzodown preview (#33279) wip fix: Avoid notifying `watch.settings` on uncaught errors (#33376) ...
Proposed changes (including videos or screenshots)
An uncaught error was happening (on my case, an invalid migration) and that caused the Error handler to kick in, updating the counter of
unhandled errors
. This caused an error ofno broker set to broadcast
as this error happened before broadcast was set.After an update, we're gonna manually update the cached collection for settings, so the value on the metrics is up to date.
Issue(s)
Steps to test or reproduce
Further comments
added also a log of what was the uncaught error