##// END OF EJS Templates
worker: properly report errors from worker processes (issue3982)
Matt Mackall -
r19408:c7ec39c1 default
parent child Browse files
Show More
@@ -89,11 +89,8 b' def _posixworker(ui, func, staticargs, a'
89 os._exit(0)
89 os._exit(0)
90 except KeyboardInterrupt:
90 except KeyboardInterrupt:
91 os._exit(255)
91 os._exit(255)
92 except: # re-raises (close enough for debugging anyway)
92 # other exceptions are allowed to propagate, we rely
93 try:
93 # on lock.py's pid checks to avoid release callbacks
94 ui.traceback()
95 finally:
96 os._exit(255)
97 pids.append(pid)
94 pids.append(pid)
98 pids.reverse()
95 pids.reverse()
99 os.close(wfd)
96 os.close(wfd)
General Comments 0
You need to be logged in to leave comments. Login now