This commit is contained in:
2019-03-14 10:13:51 +03:00
parent 06534555d5
commit e33f1d5cc8

View File

@@ -43,9 +43,9 @@ def execute_feed(feed_pk):
feed.last_id = last_id
feed.save()
print(f'Saved last ID for "{feed}" = "{feed.last_id}"')
bot.stop_bot()
feed.last_check = timezone.now()
feed.save()
bot.stop_bot()
except Exception as e:
sentry_sdk.capture_exception(e)