From 7b968a2401dc0b82d0c2e32016f16d9c19185173 Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Fri, 24 May 2019 04:04:07 +0300 Subject: [PATCH] logger.exception cleanup --- freqtrade/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/main.py b/freqtrade/main.py index 79d150441..809ab3c7a 100755 --- a/freqtrade/main.py +++ b/freqtrade/main.py @@ -54,8 +54,8 @@ def main(sysargv: List[str]) -> None: except OperationalException as e: logger.error(str(e)) return_code = 2 - except BaseException as e: - logger.exception('Fatal exception! ' + str(e)) + except BaseException: + logger.exception('Fatal exception!') finally: if worker: worker.exit()