From 82253e222a10fa47e6533beffaaa4f59e0e8be64 Mon Sep 17 00:00:00 2001 From: Matthew DeMaere Date: Tue, 23 Mar 2021 22:49:08 +1100 Subject: [PATCH] When reporting system errors that bubble to the top repr() has been replaced with str() --- qc3C/command_line.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qc3C/command_line.py b/qc3C/command_line.py index 27128ce..db28c04 100644 --- a/qc3C/command_line.py +++ b/qc3C/command_line.py @@ -318,8 +318,7 @@ def __repr__(self): sys.exit(1) except Exception as ex: - # use repr to get a little more info from system exceptions - logger.error(repr(ex)) + logger.error(str(ex)) if args.debug: logger.exception(ex) sys.exit(1)