diff --git a/src/controller/longpollthread.py b/src/controller/longpollthread.py index 1c98d52..6162984 100644 --- a/src/controller/longpollthread.py +++ b/src/controller/longpollthread.py @@ -23,5 +23,5 @@ class worker(threading.Thread): pub.sendMessage("user-online", event=event) elif event.type == VkEventType.USER_OFFLINE: pub.sendMessage("user-offline", event=event) - except ReadTimeout, ConnectionError: + except: pub.sendMessage("longpoll-read-timeout") \ No newline at end of file