diff --git a/app/celery/provider_tasks.py b/app/celery/provider_tasks.py index e9eed5222..65878f1f6 100644 --- a/app/celery/provider_tasks.py +++ b/app/celery/provider_tasks.py @@ -48,7 +48,9 @@ def deliver_email(self, notification_id): raise NoResultFound() send_to_providers.send_email_to_provider(notification) except EmailClientNonRetryableException as e: - current_app.logger.exception(e) + current_app.logger.exception( + f"Email notification {notification_id} failed: {e}" + ) update_notification_status_by_id(notification_id, 'technical-failure') except Exception as e: try: