Readded general post exception
This commit is contained in:
parent
dc59b928a0
commit
d382aac549
@ -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
|
# 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).
|
# mastodon.py API will not specify why the connection timed out).
|
||||||
# The default assumption is #2
|
# The default assumption is #2
|
||||||
except (FileNotFoundError, MastodonAPIError) as e:
|
except (FileNotFoundError, MastodonAPIError, Exception) as e:
|
||||||
print("Exception:", e)
|
print("Exception:", e)
|
||||||
|
|
||||||
# An exception occurred
|
# An exception occurred
|
||||||
|
Reference in New Issue
Block a user