Skip to content

Commit

Permalink
fix(handler): not catching network exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gaebel committed May 21, 2021
1 parent 9c19d58 commit e6f41b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth/src/commonMain/kotlin/com/liftric/auth/AuthHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ open class AuthHandler(private val configuration: Configuration): Auth {
Result.failure(e)
}
} catch (e: SerializationException) {
Result.failure(e)
Result.failure(e)
} catch (t: Throwable) {
Result.failure(t)
}
}
}

0 comments on commit e6f41b8

Please sign in to comment.