##// END OF EJS Templates
py3: convert traceback representation to bytes when logging...
Gregory Szorc -
r36141:976a9fd7 default
parent child Browse files
Show More
@@ -992,6 +992,7 def handlecommandexception(ui):
992 992 this function returns False, ignored otherwise.
993 993 """
994 994 warning = _exceptionwarning(ui)
995 ui.log("commandexception", "%s\n%s\n", warning, traceback.format_exc())
995 ui.log("commandexception", "%s\n%s\n", warning,
996 pycompat.sysbytes(traceback.format_exc()))
996 997 ui.warn(warning)
997 998 return False # re-raise the exception
General Comments 0
You need to be logged in to leave comments. Login now