fix tagging
This commit is contained in:
parent
32f5c457e5
commit
fc36c138d0
@ -31,7 +31,7 @@ def execute_feed(feed_pk):
|
|||||||
feed = Feed.objects.get(pk=feed_pk)
|
feed = Feed.objects.get(pk=feed_pk)
|
||||||
|
|
||||||
with sentry_sdk.configure_scope() as scope:
|
with sentry_sdk.configure_scope() as scope:
|
||||||
scope.set_extra('feed', str(feed))
|
scope.set_tag('feed', str(feed))
|
||||||
try:
|
try:
|
||||||
bot = TeleBot(config.feed_bot_token, threaded=False)
|
bot = TeleBot(config.feed_bot_token, threaded=False)
|
||||||
print(f'Last ID for "{feed}" = "{feed.last_id}"')
|
print(f'Last ID for "{feed}" = "{feed.last_id}"')
|
||||||
|
Loading…
Reference in New Issue
Block a user