Closed dbrgn closed 6 years ago
If the error is a ResponseError that contains an error reason (as sent by Apple), then show it in the fmt::Display impl.
This helps a lot when debugging.
Example output:
Notification was not accepted by APNs (reason: BadDeviceToken)
Yeah, we didn't need this because we just graph them through Prometheus anyways and log them to Graylog.
If the error is a ResponseError that contains an error reason (as sent by Apple), then show it in the fmt::Display impl.
This helps a lot when debugging.
Example output: