mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user