Skip to content
Snippets Groups Projects
user avatar
Roman Elizarov authored
There is a number of place in the app with the following code pattern:

try {
    // do some suspending operation
} catch(e: Exception) {
    e.report(ExceptionCategory.EXPOSURENOTIFICATION) // or similar
}

In all such place if the corresponding suspending gets cancelled for any reason, the resulting CancellationException will get reported as an application crash. This fix prevents it from happening, since a cancellation exception is a part of a normal operation, not a failure that should be reported.
ca130d00
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.