From 5d7a0a36e64dba2e8c606163f3822681e89c3ea3 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 14 Mar 2019 10:17:08 +0300 Subject: [PATCH] fix --- feeds/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feeds/tasks.py b/feeds/tasks.py index 5812abd..1f9cdfd 100644 --- a/feeds/tasks.py +++ b/feeds/tasks.py @@ -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