##// END OF EJS Templates
bugzilla: fix reporting of exceptions with py3
Mads Kiilerich -
r46694:1d252e73 stable
parent child Browse files
Show More
@@ -1211,4 +1211,4 b' def hook(ui, repo, hooktype, node=None, '
1211 bz.update(bug, bugs[bug], ctx)
1211 bz.update(bug, bugs[bug], ctx)
1212 bz.notify(bugs, stringutil.email(ctx.user()))
1212 bz.notify(bugs, stringutil.email(ctx.user()))
1213 except Exception as e:
1213 except Exception as e:
1214 raise error.Abort(_(b'Bugzilla error: %s') % e)
1214 raise error.Abort(_(b'Bugzilla error: %s') % stringutil.forcebytestr(e))
General Comments 0
You need to be logged in to leave comments. Login now