Skip to content

Commit af08924

Browse files
committed
Add handled=true to SentryCoroutineExceptionHandler
1 parent 49517e1 commit af08924

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sentry-kotlin-extensions/src/main/java/io/sentry/kotlin/SentryCoroutineExceptionHandler.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public open class SentryCoroutineExceptionHandler(private val scopes: IScopes =
2121
override fun handleException(context: CoroutineContext, exception: Throwable) {
2222
val mechanism = Mechanism().apply {
2323
type = "CoroutineExceptionHandler"
24+
isHandled = true
2425
}
2526
// the current thread is not necessarily the one that threw the exception
2627
val error = ExceptionMechanismException(mechanism, exception, Thread.currentThread())

0 commit comments

Comments
 (0)