mirror of https://github.com/M66B/FairEmail.git
Bugsnag failure on I/O error
This commit is contained in:
parent
c49509cfcb
commit
3270faf44a
|
@ -64,7 +64,7 @@ internal class DefaultDelivery(
|
||||||
return DeliveryStatus.UNDELIVERED
|
return DeliveryStatus.UNDELIVERED
|
||||||
} catch (exception: IOException) {
|
} catch (exception: IOException) {
|
||||||
logger.w("IOException encountered in request", exception)
|
logger.w("IOException encountered in request", exception)
|
||||||
return DeliveryStatus.UNDELIVERED
|
return DeliveryStatus.FAILURE
|
||||||
} catch (exception: Exception) {
|
} catch (exception: Exception) {
|
||||||
logger.w("Unexpected error delivering payload", exception)
|
logger.w("Unexpected error delivering payload", exception)
|
||||||
return DeliveryStatus.FAILURE
|
return DeliveryStatus.FAILURE
|
||||||
|
|
Loading…
Reference in New Issue