fix unhandled keyboardinterrupts
This commit is contained in:
		@@ -12,9 +12,9 @@ class Command(BaseCommand):
 | 
				
			|||||||
        while True:
 | 
					        while True:
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
                check_feeds.apply_async()
 | 
					                check_feeds.apply_async()
 | 
				
			||||||
 | 
					                sleep(10*60)
 | 
				
			||||||
            except KeyboardInterrupt:
 | 
					            except KeyboardInterrupt:
 | 
				
			||||||
                return
 | 
					                return
 | 
				
			||||||
            except Exception as e:
 | 
					            except Exception as e:
 | 
				
			||||||
                sentry_sdk.capture_exception(e)
 | 
					                sentry_sdk.capture_exception(e)
 | 
				
			||||||
                traceback.print_exc()
 | 
					                traceback.print_exc()
 | 
				
			||||||
            sleep(10*60)
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user