mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
More helpful error messaging than a blank response added
This commit is contained in:
parent
b4e931322f
commit
8801ec38d7
@ -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
|
||||
|
||||
########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user