Bugsnag failure on I/O error

This commit is contained in:
M66B 2021-05-15 22:07:24 +02:00
parent c49509cfcb
commit 3270faf44a
1 changed files with 1 additions and 1 deletions

View File

@ -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