fix unhandled keyboardinterrupt

master
bakatrouble 4 years ago
parent b60977713c
commit 61da2bd079

@ -18,4 +18,7 @@ class Command(BaseCommand):
except Exception as e:
sentry_sdk.capture_exception(e)
traceback.print_exc()
sleep(5)
try:
sleep(5)
except KeyboardInterrupt:
return

Loading…
Cancel
Save