diff --git a/notifications_consumer/processors/webpush/utils.py b/notifications_consumer/processors/webpush/utils.py index 8021228e1798243d61a2e91084f8084a7a52ae34..ab98634d0891a06c1ed51fe3662563d5a33e55ec 100644 --- a/notifications_consumer/processors/webpush/utils.py +++ b/notifications_consumer/processors/webpush/utils.py @@ -54,6 +54,7 @@ def send_message(msg: str, device_token: str, encoding: str = None): raise # if 410 error the device should be removed form Device table, so logging if "410" in ex.message: + logging.exception("Debugging 410") logging.warning("Webpush CLEANUP needed for device %s", device_token) else: logging.error("Webpush error %s", ex.message)