mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Show more detail about the error when pusher registration fails.
This commit is contained in:
@@ -92,7 +92,7 @@ private fun Throwable.getReason(): String? {
|
|||||||
is PusherRegistrationFailure.AccountNotVerified -> null
|
is PusherRegistrationFailure.AccountNotVerified -> null
|
||||||
is PusherRegistrationFailure.NoDistributorsAvailable -> "No distributors available"
|
is PusherRegistrationFailure.NoDistributorsAvailable -> "No distributors available"
|
||||||
is PusherRegistrationFailure.NoProvidersAvailable -> "No providers available"
|
is PusherRegistrationFailure.NoProvidersAvailable -> "No providers available"
|
||||||
else -> "Other error"
|
else -> "Other error: $message"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user