From 1ef15780df05b96300d76f4e592a184dc3090270 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sun, 3 Nov 2019 01:47:10 -0700 Subject: [PATCH] cutter: Fix lack of info in error handling --- cutter/cutter/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutter/cutter/main.py b/cutter/cutter/main.py index 91d5dda..9de06d1 100644 --- a/cutter/cutter/main.py +++ b/cutter/cutter/main.py @@ -617,7 +617,7 @@ def main( conn = dbmanager.get_conn() except Exception: delay = common.jitter(10) - logging.info('Cannot connect to database. Retrying in {:.0f} s'.format(delay)) + logging.warning('Cannot connect to database. Retrying in {:.0f} s'.format(delay), exc_info=True) stop.wait(delay) else: # put it back so it gets reused on next get_conn()