mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Twitter: Ignores twitter sessions if login doesn't work
This commit is contained in:
parent
310ba003c9
commit
09650f588a
@ -145,8 +145,8 @@ class Session(base.baseSession):
|
|||||||
self.logged = True
|
self.logged = True
|
||||||
log.debug("Logged.")
|
log.debug("Logged.")
|
||||||
self.counter = 0
|
self.counter = 0
|
||||||
except IOError:
|
except Exception as e:
|
||||||
log.error("The login attempt failed.")
|
log.exception("The login attempt failed.")
|
||||||
self.logged = False
|
self.logged = False
|
||||||
else:
|
else:
|
||||||
self.logged = False
|
self.logged = False
|
||||||
|
Loading…
Reference in New Issue
Block a user