equal
deleted
inserted
replaced
990 |
990 |
991 Called when handling an exception; the exception is reraised if |
991 Called when handling an exception; the exception is reraised if |
992 this function returns False, ignored otherwise. |
992 this function returns False, ignored otherwise. |
993 """ |
993 """ |
994 warning = _exceptionwarning(ui) |
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 ui.warn(warning) |
997 ui.warn(warning) |
997 return False # re-raise the exception |
998 return False # re-raise the exception |