-
-
Notifications
You must be signed in to change notification settings - Fork 442
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
Support SentryCoroutineExceptionHandler #1524
Comments
|
examples can be found on https://github.com/Kotlin/kotlinx.coroutines/tree/master/kotlinx-coroutines-core/jvm/test/guide |
works like a try/catch, if no |
one thing to note is:
so we cannot use the current thread when creating a |
|
related topic https://kt.academy/article/cc-exception-handling |
Consider testing https://github.com/Anamorphosee/stacktrace-decoroutinator and adding to the docs if it gives better stack traces |
Relates to #2687 as well |
As we have a
sentry-kotlin-extensions
module right now andSentryContext
for Coroutines, it'd be a nice addition offering aSentryCoroutineExceptionHandler
, https://kotlinlang.org/docs/exception-handling.html#coroutineexceptionhandlerso people can use it and when it throws, it captures an event automatically, how does that sound?
Similar to our
UncaughtExceptionHandlerIntegration
The text was updated successfully, but these errors were encountered: