From e8399dc2ed5db2d6631590d44ca657b266088fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 19 Aug 2017 22:21:01 +0200 Subject: [PATCH] Fix wrong call to Sleepy() And place a log call so we can gather exceptions to lose the general exception in the future. --- gajim/common/connection_handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py index 3b1fe4b30..be62e8caf 100644 --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -1383,9 +1383,10 @@ ConnectionHandlersBase, ConnectionJingle, ConnectionIBBytestream): self.privacy_default_list = None try: - self.sleeper = common.sleepy.Sleepy() + self.sleeper = sleepy.Sleepy() HAS_IDLE = True except Exception: + log.warning('Error while calling Sleepy()', exc_info=True) HAS_IDLE = False self.gmail_last_tid = None