Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Aug 3, 2024
1 parent e378cbc commit f9e0619
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,9 @@ fun <T : R, R> Flow<T>.safeCollectAsRetainedState(
collect { value = it }
}
}
} catch (e: CancellationException) {
throw e
} catch (e: Throwable) {
if (e is CancellationException) {
throw e
}
composeEffectErrorHandler.emit(e)
}
}
Expand Down

0 comments on commit f9e0619

Please sign in to comment.