mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Log unidentified errors from async tasks
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user