logging network errors

missytake 2020-06-16 19:05:07 +02:00
parent 6562996935
commit 7cb4c887dd
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: