Show more detail about the error when pusher registration fails.

This commit is contained in:
Benoit Marty 2024-12-20 16:03:21 +01:00
parent 800d6f0999
commit 8cc7f1cd89

View file

@ -92,7 +92,7 @@ private fun Throwable.getReason(): String? {
is PusherRegistrationFailure.AccountNotVerified -> null
is PusherRegistrationFailure.NoDistributorsAvailable -> "No distributors available"
is PusherRegistrationFailure.NoProvidersAvailable -> "No providers available"
else -> "Other error"
else -> "Other error: $message"
}
}