Skip to content

Commit

Permalink
When reporting system errors that bubble to the top repr() has been r…
Browse files Browse the repository at this point in the history
…eplaced with str()
  • Loading branch information
cerebis committed Mar 23, 2021
1 parent 94056c5 commit 82253e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qc3C/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 82253e2

Please sign in to comment.