fix
This commit is contained in:
parent
e33f1d5cc8
commit
5d7a0a36e6
@ -1,3 +1,5 @@
|
|||||||
|
import traceback
|
||||||
|
|
||||||
import sentry_sdk
|
import sentry_sdk
|
||||||
from celery.exceptions import Reject
|
from celery.exceptions import Reject
|
||||||
from celery_once import QueueOnce
|
from celery_once import QueueOnce
|
||||||
@ -48,7 +50,7 @@ def execute_feed(feed_pk):
|
|||||||
bot.stop_bot()
|
bot.stop_bot()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
sentry_sdk.capture_exception(e)
|
sentry_sdk.capture_exception(e)
|
||||||
|
traceback.print_exc()
|
||||||
finally:
|
finally:
|
||||||
if feed:
|
if feed:
|
||||||
feed.lock = False
|
feed.lock = False
|
||||||
|
Loading…
Reference in New Issue
Block a user