From 77749aaec302ca3ebb10ca73bfe7c5eca45dad12 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 21 Mar 2016 16:50:44 +0100 Subject: [PATCH] Log unidentified errors from async tasks --- src/pretix/presale/views/async.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/presale/views/async.py b/src/pretix/presale/views/async.py index 93b0e46c5..dcdf3ecab 100644 --- a/src/pretix/presale/views/async.py +++ b/src/pretix/presale/views/async.py @@ -116,6 +116,7 @@ class AsyncAction: return redirect(self.get_error_url()) def get_error_message(self, exception): + logger.error('Unexpected exception: %r' % exception) return _('An unexpected error has occured') def get_success_message(self, value):