fix unhandled keyboardinterrupt
This commit is contained in:
		@@ -18,4 +18,7 @@ class Command(BaseCommand):
 | 
				
			|||||||
                except Exception as e:
 | 
					                except Exception as e:
 | 
				
			||||||
                    sentry_sdk.capture_exception(e)
 | 
					                    sentry_sdk.capture_exception(e)
 | 
				
			||||||
                    traceback.print_exc()
 | 
					                    traceback.print_exc()
 | 
				
			||||||
 | 
					            try:
 | 
				
			||||||
                sleep(5)
 | 
					                sleep(5)
 | 
				
			||||||
 | 
					            except KeyboardInterrupt:
 | 
				
			||||||
 | 
					                return
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user