mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Mastodon: TWBlue should be able to ignore sessions if there are errors attempting to log-in
This commit is contained in:
@@ -48,8 +48,8 @@ class Session(base.baseSession):
|
||||
self.logged = True
|
||||
log.debug("Logged.")
|
||||
self.counter = 0
|
||||
except IOError:
|
||||
log.error("The login attempt failed.")
|
||||
except MastodonError:
|
||||
log.exception("The login attempt failed.")
|
||||
self.logged = False
|
||||
else:
|
||||
self.logged = False
|
||||
|
Reference in New Issue
Block a user