From 9b6c51ebd614997a10be50346b1908c9287a7935 Mon Sep 17 00:00:00 2001 From: missytake Date: Tue, 16 Jun 2020 19:05:07 +0200 Subject: [PATCH] logging network errors --- active_bots/mastodonbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/active_bots/mastodonbot.py b/active_bots/mastodonbot.py index 3904568..8d3d4a6 100755 --- a/active_bots/mastodonbot.py +++ b/active_bots/mastodonbot.py @@ -26,6 +26,7 @@ class MastodonBot(Bot): try: notifications = m.notifications() except mastodon.MastodonNetworkError: + logger.error("Mastodon Network Error.") return mentions except mastodon.MastodonInternalServerError: try: