mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Cronjob: Fix issue in waiting list handling
This commit is contained in:
@@ -31,6 +31,7 @@ class Command(BaseCommand):
|
|||||||
if settings.SENTRY_ENABLED:
|
if settings.SENTRY_ENABLED:
|
||||||
from sentry_sdk import capture_exception
|
from sentry_sdk import capture_exception
|
||||||
capture_exception(err)
|
capture_exception(err)
|
||||||
|
self.stdout.write(self.style.ERROR(f'FAIL: {str(err)}\n'))
|
||||||
else:
|
else:
|
||||||
self.stdout.write(self.style.ERROR(f'FAIL: {str(err)}\n'))
|
self.stdout.write(self.style.ERROR(f'FAIL: {str(err)}\n'))
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user