More helpful error messaging than a blank response added

This commit is contained in:
Chris Brunner 2011-11-15 22:42:15 +00:00
parent b4e931322f
commit 8801ec38d7

View File

@ -273,7 +273,7 @@ def oscmd(cmd, ignoreError = False):
if "interrogate" in cmd.split(" ", 1)[0] and GetVerbose():
print GetColor("red") + "Interrogate failed, retrieving debug output..." + GetColor()
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
########################################################################