logging network errors
parent
55082b8592
commit
9b6c51ebd6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue