diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-17 06:54:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-17 06:54:21 +0300 |
commit | ee7a170df79287aac3bccfead716377ec8600c5c (patch) | |
tree | a8e65715fe8a26e95963987f0380311a1191895d /vk/utils/tracking | |
parent | add basic "online periods" extraction (diff) | |
download | vk-scripts-ee7a170df79287aac3bccfead716377ec8600c5c.tar.gz vk-scripts-ee7a170df79287aac3bccfead716377ec8600c5c.zip |
ignore connection errors in the db logger
Diffstat (limited to '')
-rw-r--r-- | vk/utils/tracking/db/writer/log.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vk/utils/tracking/db/writer/log.py b/vk/utils/tracking/db/writer/log.py index 02697b7..faef29b 100644 --- a/vk/utils/tracking/db/writer/log.py +++ b/vk/utils/tracking/db/writer/log.py @@ -22,8 +22,9 @@ class Logger: logging.info(Logger._format_user_last_seen(user)) @staticmethod - def on_exception(e): - logging.exception(e) + def on_connection_error(e): + #logging.exception(e) + pass @staticmethod def _format_user(user): |