Fix wrong call to Sleepy()
And place a log call so we can gather exceptions to lose the general exception in the future.
This commit is contained in:
parent
763eba0acc
commit
e8399dc2ed
|
@ -1383,9 +1383,10 @@ ConnectionHandlersBase, ConnectionJingle, ConnectionIBBytestream):
|
||||||
self.privacy_default_list = None
|
self.privacy_default_list = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.sleeper = common.sleepy.Sleepy()
|
self.sleeper = sleepy.Sleepy()
|
||||||
HAS_IDLE = True
|
HAS_IDLE = True
|
||||||
except Exception:
|
except Exception:
|
||||||
|
log.warning('Error while calling Sleepy()', exc_info=True)
|
||||||
HAS_IDLE = False
|
HAS_IDLE = False
|
||||||
|
|
||||||
self.gmail_last_tid = None
|
self.gmail_last_tid = None
|
||||||
|
|
Loading…
Reference in New Issue