Browse Source

More helpful error messaging than a blank response added

Chris Brunner 14 years ago
parent
commit
8801ec38d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -273,7 +273,7 @@ def oscmd(cmd, ignoreError = False):
         if "interrogate" in cmd.split(" ", 1)[0] and GetVerbose():
         if "interrogate" in cmd.split(" ", 1)[0] and GetVerbose():
             print GetColor("red") + "Interrogate failed, retrieving debug output..." + GetColor()
             print GetColor("red") + "Interrogate failed, retrieving debug output..." + GetColor()
             os.system(cmd.split(" ", 1)[0] + " -v " + cmd.split(" ", 1)[1])
             os.system(cmd.split(" ", 1)[0] + " -v " + cmd.split(" ", 1)[1])
-        exit("")
+        exit("The following command returned a non-zero value: " + str(cmd))
     return res
     return res
 
 
 ########################################################################
 ########################################################################