changeset 36124 | 976a9fd706ed |
parent 35942 | f81df691efe7 |
child 36503 | 8b662717c53f |
--- a/mercurial/dispatch.py Sun Feb 11 19:26:53 2018 -0800 +++ b/mercurial/dispatch.py Sun Feb 11 19:43:43 2018 -0800 @@ -992,6 +992,7 @@ this function returns False, ignored otherwise. """ warning = _exceptionwarning(ui) - ui.log("commandexception", "%s\n%s\n", warning, traceback.format_exc()) + ui.log("commandexception", "%s\n%s\n", warning, + pycompat.sysbytes(traceback.format_exc())) ui.warn(warning) return False # re-raise the exception