From: Rust Maintainers Date: Wed, 9 Aug 2017 02:49:55 +0000 (+0100) Subject: u-exception-traceback X-Git-Tag: archive/raspbian/1.19.0+dfsg3-4+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4956bdd0fbcc4c3a4215d0ed0bed204f5cb607d;p=rustc.git u-exception-traceback Gbp-Pq: Name u-exception-traceback.patch --- diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 6cd9496b7a..f12c7d3ffe 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -602,7 +602,8 @@ def main(): exit_code = e.code else: exit_code = 1 - print(e) + import traceback + traceback.print_exc() if not help_triggered: print("Build completed unsuccessfully in %s" % format_build_time(time() - start_time)) sys.exit(exit_code)