##// END OF EJS Templates
exceptions: fixed truncated exception text
milka -
r4605:d20c3f2d stable
parent child Browse files
Show More
@@ -219,7 +219,7 b' def map_vcs_exceptions(func):'
219 if kind:
219 if kind:
220 if any(e.args):
220 if any(e.args):
221 args = [a for a in e.args]
221 args = [a for a in e.args]
222 args[0] = '{}:'.format(exc_name) # prefix first arg with org exc name
222 args.insert(0, '{}:'.format(exc_name)) # prefix first arg with org exc name
223 else:
223 else:
224 args = [__traceback_info__ or '{}: UnhandledException'.format(exc_name)]
224 args = [__traceback_info__ or '{}: UnhandledException'.format(exc_name)]
225 if debug or __traceback_info__ and kind not in ['unhandled', 'lookup']:
225 if debug or __traceback_info__ and kind not in ['unhandled', 'lookup']:
General Comments 0
You need to be logged in to leave comments. Login now