From: Rust Maintainers Date: Tue, 25 Jul 2017 21:19:47 +0000 (+0100) Subject: u-exception-traceback X-Git-Tag: archive/raspbian/1.19.0+dfsg3-4+rpi1~1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=941af841fbb7b4d9a6ebdf41666db34f359754fd;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)