From ee7a170df79287aac3bccfead716377ec8600c5c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 17 Jun 2016 06:54:21 +0300 Subject: ignore connection errors in the db logger --- track_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'track_status.py') 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: -- cgit v1.2.3