1
0

exception formatting: use repr(e) instead of str(e) in messages

repr(e) is more useful
This commit is contained in:
SomberNight
2019-01-17 17:16:19 +01:00
parent 44a2ceab3c
commit d77e4d8f5d
6 changed files with 7 additions and 7 deletions

View File

@@ -239,7 +239,7 @@ class BaseWizard(object):
try:
scanned_devices = devmgr.scan_devices()
except BaseException as e:
devmgr.print_error('error scanning devices: {}'.format(e))
devmgr.print_error('error scanning devices: {}'.format(repr(e)))
debug_msg = ' {}:\n {}'.format(_('Error scanning devices'), e)
else:
debug_msg = ''