aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/track_status.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-17 06:54:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-17 06:54:21 +0300
commitee7a170df79287aac3bccfead716377ec8600c5c (patch)
treea8e65715fe8a26e95963987f0380311a1191895d /track_status.py
parentadd basic "online periods" extraction (diff)
downloadvk-scripts-ee7a170df79287aac3bccfead716377ec8600c5c.tar.gz
vk-scripts-ee7a170df79287aac3bccfead716377ec8600c5c.zip
ignore connection errors in the db logger
Diffstat (limited to '')
-rw-r--r--track_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/track_status.py b/track_status.py
index 9935b64..7af17b7 100644
--- a/track_status.py
+++ b/track_status.py
@@ -41,7 +41,7 @@ if __name__ == '__main__':
tracker.add_initial_status_handler(log.Logger.on_initial_status)
tracker.add_status_update_handler(log.Logger.on_status_update)
- tracker.add_connection_error_handler(log.Logger.on_exception)
+ tracker.add_connection_error_handler(log.Logger.on_connection_error)
with csv.Writer(args.output) as csv_writer: