From fc36c138d0860b6492d40c63cd917dd9a0b85bb8 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 11 Apr 2019 02:16:33 +0300 Subject: [PATCH] fix tagging --- feeds/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/tasks.py b/feeds/tasks.py index 25e8cac..659a5e9 100644 --- a/feeds/tasks.py +++ b/feeds/tasks.py @@ -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}"')