##// END OF EJS Templates
exceptions: fixed problem with exceptions formatting resulting in limited exception data reporting.
milka -
r4627:40c3334b stable
parent child
Show More
@@ -220,7 +220,7 def map_vcs_exceptions(func):
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 # replace the first argument with a prefix exc name
222 # replace the first argument with a prefix exc name
223 args = ['{}:'.format(exc_name, _args[0] if _args else '?')] + _args[1:]
223 args = ['{}:{}'.format(exc_name, _args[0] if _args else '?')] + _args[1:]
224 else:
224 else:
225 args = [__traceback_info__ or '{}: UnhandledException'.format(exc_name)]
225 args = [__traceback_info__ or '{}: UnhandledException'.format(exc_name)]
226 if debug or __traceback_info__ and kind not in ['unhandled', 'lookup']:
226 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