diff mercurial/worker.py @ 32043:b844d0d367e2

worker: print traceback for uncaught exception unconditionally This is what a Python interpreter would do if there were no os._exit().
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Apr 2017 13:04:55 +0900
parents 8f8ad0139b8b
children 31763785094b
line wrap: on
line diff
--- a/mercurial/worker.py	Sat Apr 15 13:27:44 2017 +0900
+++ b/mercurial/worker.py	Sat Apr 15 13:04:55 2017 +0900
@@ -159,7 +159,7 @@
                 os._exit(255)
             except: # never return, therefore no re-raises
                 try:
-                    ui.traceback()
+                    ui.traceback(force=True)
                     ui.flush()
                 finally:
                     os._exit(255)