fix tagging

This commit is contained in:
bakatrouble 2019-04-11 02:16:33 +03:00
parent 32f5c457e5
commit fc36c138d0

View File

@ -31,7 +31,7 @@ def execute_feed(feed_pk):
feed = Feed.objects.get(pk=feed_pk)
with sentry_sdk.configure_scope() as scope:
scope.set_extra('feed', str(feed))
scope.set_tag('feed', str(feed))
try:
bot = TeleBot(config.feed_bot_token, threaded=False)
print(f'Last ID for "{feed}" = "{feed.last_id}"')