]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/build/build.py
BaseTools: report an error message when failed to start build command
[mirror_edk2.git] / BaseTools / Source / Python / build / build.py
index 3cd385d69d99829a7c0cffa205868c112003f1e9..5253cb48f95d7d166bfaab2c5f6230f8739e15ad 100644 (file)
@@ -2,7 +2,7 @@
 # build a platform or a module\r
 #\r
 #  Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>\r
-#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -287,6 +287,7 @@ def LaunchCommand(Command, WorkingDir):
         Proc.wait()\r
     except: # in case of aborting\r
         # terminate the threads redirecting the program output\r
+        EdkLogger.quiet("(Python %s on %s) " % (platform.python_version(), sys.platform) + traceback.format_exc())\r
         if EndOfProcedure != None:\r
             EndOfProcedure.set()\r
         if Proc == None:\r