From 8801ec38d78f6ce39d98aa3ed70ffcea334bc0e0 Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Tue, 15 Nov 2011 22:42:15 +0000 Subject: [PATCH] More helpful error messaging than a blank response added --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index e7f94cfd64..923f34456a 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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 ########################################################################