mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-12-03 03:44:54 +00:00
The broad catch(Exception) around sendFcmToken swallowed CancellationException (which inherits from IllegalStateException on JVM), breaking structured concurrency. Rethrow CancellationException before the general handler so callers tied to a cancellable scope observe cancellation correctly. Added a test that cancels the calling scope mid-send and asserts the CancellationException propagates out of registerToken. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||