From d382aac5497fd03679b6152d91442fe513258209 Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 9 Oct 2022 22:58:26 -0700 Subject: [PATCH] Readded general post exception --- src/yandere_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yandere_bot.py b/src/yandere_bot.py index 04edb78..238abc4 100644 --- a/src/yandere_bot.py +++ b/src/yandere_bot.py @@ -292,7 +292,7 @@ class YandereBot: # 2. The server is down. Check to verify in a web browser (this is the default assumption since the # mastodon.py API will not specify why the connection timed out). # The default assumption is #2 - except (FileNotFoundError, MastodonAPIError) as e: + except (FileNotFoundError, MastodonAPIError, Exception) as e: print("Exception:", e) # An exception occurred