Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
This commit is contained in:
parent
3f372e5804
commit
73347deaaf
4 changed files with 4 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ class RustMatrixAuthenticationService @Inject constructor(
|
|||
client.restoreSession(sessionData.toSession())
|
||||
createMatrixClient(client)
|
||||
} else {
|
||||
throw IllegalStateException("No session to restore with id $sessionId")
|
||||
error("No session to restore with id $sessionId")
|
||||
}
|
||||
}.mapFailure { failure ->
|
||||
failure.mapClientException()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue