Skip to content
Snippets Groups Projects
Commit c7ec39c1 authored by Matt Mackall's avatar Matt Mackall
Browse files

worker: properly report errors from worker processes (issue3982)

parent ce3d1cf9
Branches
Tags
No related merge requests found
......@@ -89,11 +89,8 @@
os._exit(0)
except KeyboardInterrupt:
os._exit(255)
except: # re-raises (close enough for debugging anyway)
try:
ui.traceback()
finally:
os._exit(255)
# other exceptions are allowed to propagate, we rely
# on lock.py's pid checks to avoid release callbacks
pids.append(pid)
pids.reverse()
os.close(wfd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment