logging network errors
parent
55082b8592
commit
9b6c51ebd6
|
@ -26,6 +26,7 @@ class MastodonBot(Bot):
|
||||||
try:
|
try:
|
||||||
notifications = m.notifications()
|
notifications = m.notifications()
|
||||||
except mastodon.MastodonNetworkError:
|
except mastodon.MastodonNetworkError:
|
||||||
|
logger.error("Mastodon Network Error.")
|
||||||
return mentions
|
return mentions
|
||||||
except mastodon.MastodonInternalServerError:
|
except mastodon.MastodonInternalServerError:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue