Show more detail about the error when pusher registration fails.
This commit is contained in:
parent
fbc74a16c3
commit
7302a8392b
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue