mercurial/worker.py
changeset 18908 779e3d9b7a1d
parent 18709 9955fc5ee24b
child 18914 05d5821e0dc8
--- a/mercurial/worker.py	Thu Apr 11 13:30:27 2013 -0700
+++ b/mercurial/worker.py	Thu Apr 11 13:30:31 2013 -0700
@@ -89,6 +89,11 @@
                 os._exit(0)
             except KeyboardInterrupt:
                 os._exit(255)
+            except: # re-raises (close enough for debugging anyway)
+                try:
+                    ui.traceback()
+                finally:
+                    os._exit(255)
         pids.append(pid)
     pids.reverse()
     os.close(wfd)