Skip to content
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

Don't raise error when shutting down sync services #1048

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

gunndabad
Copy link
Collaborator

We have a few errors in Sentry caused by OperationCanceledExceptions in TrsDataSyncService when the app is shutting down. This change prevents wrapping those exceptions so that they are correctly handled (and not logged).

While the Sentry logs have only been for TrsDataSyncService I've made the same change to DqtReportingService too, since it's near-identical in its error handling and could see the same problem.

@gunndabad gunndabad force-pushed the handle-cancellation-in-sync branch from 4c2daf4 to d554bba Compare January 4, 2024 10:11
@gunndabad gunndabad enabled auto-merge (squash) January 4, 2024 10:12
@gunndabad gunndabad merged commit 090d43f into main Jan 4, 2024
10 checks passed
@gunndabad gunndabad deleted the handle-cancellation-in-sync branch January 4, 2024 10:19
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.

2 participants