mirror of
https://github.com/etesync/android
synced 2025-01-22 13:40:55 +00:00
Don't pop up notifications on bad gatewary errors as most likely a server restart.
The server is and should be monitored for misconfigurations, we don't want to annoy users with temporary issues.
This commit is contained in:
parent
ea0add8f45
commit
4d661117e5
@ -16,7 +16,7 @@ class Exceptions {
|
||||
|
||||
class UserInactiveException(response: Response, message: String?) : HttpException(response, message)
|
||||
|
||||
class BadGatewayException(response: Response, message: String) : HttpException(response, message)
|
||||
class BadGatewayException(response: Response, message: String) : IgnorableHttpException(response, message)
|
||||
|
||||
class ServiceUnavailableException : IgnorableHttpException {
|
||||
var retryAfter: Long = 0
|
||||
|
Loading…
Reference in New Issue
Block a user