u-exception-traceback
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Wed, 9 Aug 2017 02:49:55 +0000 (03:49 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 9 Aug 2017 02:49:55 +0000 (03:49 +0100)
Gbp-Pq: Name u-exception-traceback.patch

src/bootstrap/bootstrap.py

index 6cd9496b7a670a214f842a697167cb906d80361a..f12c7d3ffee9ece1fff0e95e946cb3cd998d0bcf 100644 (file)
@@ -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)