CLI: don't hide errors so much

This commit is contained in:
Brian Warner 2016-04-20 22:36:43 -07:00
parent 1b16127cad
commit 1e7c714453

View File

@ -41,10 +41,6 @@ def run(reactor, argv, cwd, stdout, stderr, executable=None):
timing.write(args.dump_timing, stderr)
return res
d.addBoth(_maybe_dump_timing)
def _explain_error(f):
print(f.value, file=stderr)
raise SystemExit(1)
d.addErrback(_explain_error)
def _rc(rc):
raise SystemExit(rc)
d.addCallback(_rc)