Show More
@@ -102,7 +102,7 b' def pythonhook(ui, repo, htype, hname, f' | |||||
102 | (hname, exc.args[0])) |
|
102 | (hname, exc.args[0])) | |
103 | else: |
|
103 | else: | |
104 | ui.warn(_('error: %s hook raised an exception: ' |
|
104 | ui.warn(_('error: %s hook raised an exception: ' | |
105 |
'%s\n') % (hname, |
|
105 | '%s\n') % (hname, stringutil.forcebytestr(exc))) | |
106 | if throw: |
|
106 | if throw: | |
107 | raise |
|
107 | raise | |
108 | if not ui.tracebackflag: |
|
108 | if not ui.tracebackflag: |
General Comments 0
You need to be logged in to leave comments.
Login now