Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:WalletConnect/WalletConnectKotli…
Browse files Browse the repository at this point in the history
…nV2 into develop
  • Loading branch information
jakubuid committed Aug 28, 2024
2 parents a18a31d + 913c2ef commit de3b6fc
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ class ResolveAttestationIdUseCase(private val verifyInterface: VerifyInterface,
private fun insertContext(context: VerifyContext, onResolve: (VerifyContext) -> Unit) {
scope.launch {
supervisorScope {
repository.insertOrAbort(context)
onResolve(context)
try {
repository.insertOrAbort(context)
onResolve(context)
} catch (e: Exception) {
onResolve(context)
}
}
}
}
Expand Down

0 comments on commit de3b6fc

Please sign in to comment.