exceptions: fixed truncated exception text
This commit is contained in:
parent
a02d407fdf
commit
331be00be4
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ def map_vcs_exceptions(func):
|
|||
if kind:
|
||||
if any(e.args):
|
||||
args = [a for a in e.args]
|
||||
args[0] = '{}:'.format(exc_name) # prefix first arg with org exc name
|
||||
args.insert(0, '{}:'.format(exc_name)) # prefix first arg with org exc name
|
||||
else:
|
||||
args = [__traceback_info__ or '{}: UnhandledException'.format(exc_name)]
|
||||
if debug or __traceback_info__ and kind not in ['unhandled', 'lookup']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue