FairEmail/patches/Bugsnag.patch

14 lines
750 B
Diff
Raw Normal View History

2021-07-29 19:08:19 +00:00
diff --git a/app/src/main/java/com/bugsnag/android/DefaultDelivery.kt b/app/src/main/java/com/bugsnag/android/DefaultDelivery.kt
2022-06-23 18:23:15 +00:00
index 0ce2eec8c4..e1bac196e2 100644
2021-07-29 19:08:19 +00:00
--- a/app/src/main/java/com/bugsnag/android/DefaultDelivery.kt
+++ b/app/src/main/java/com/bugsnag/android/DefaultDelivery.kt
2022-02-03 17:36:29 +00:00
@@ -66,7 +66,7 @@ internal class DefaultDelivery(
2021-07-29 19:08:19 +00:00
return DeliveryStatus.UNDELIVERED
} catch (exception: IOException) {
logger.w("IOException encountered in request", exception)
- return DeliveryStatus.UNDELIVERED
+ return DeliveryStatus.FAILURE
} catch (exception: Exception) {
logger.w("Unexpected error delivering payload", exception)
return DeliveryStatus.FAILURE