logging network errors

master
missytake 2020-06-16 19:05:07 +02:00
parent 55082b8592
commit 9b6c51ebd6
1 changed files with 1 additions and 0 deletions

View File

@ -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: