Cronjob: Fix issue in waiting list handling

This commit is contained in:
Raphael Michel
2020-09-09 22:15:19 +02:00
parent 3e97fd87d1
commit 019801e9dc

View File

@@ -31,6 +31,7 @@ class Command(BaseCommand):
if settings.SENTRY_ENABLED:
from sentry_sdk import capture_exception
capture_exception(err)
self.stdout.write(self.style.ERROR(f'FAIL: {str(err)}\n'))
else:
self.stdout.write(self.style.ERROR(f'FAIL: {str(err)}\n'))
traceback.print_exc()