This commit is contained in:
bakatrouble 2019-03-14 10:17:08 +03:00
parent e33f1d5cc8
commit 5d7a0a36e6

View File

@ -1,3 +1,5 @@
import traceback
import sentry_sdk
from celery.exceptions import Reject
from celery_once import QueueOnce
@ -48,7 +50,7 @@ def execute_feed(feed_pk):
bot.stop_bot()
except Exception as e:
sentry_sdk.capture_exception(e)
traceback.print_exc()
finally:
if feed:
feed.lock = False