[Swift-commit] r5003 - branches/release-0.93/libexec

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Wed Aug 24 16:31:47 CDT 2011


Author: hategan
Date: 2011-08-24 16:31:47 -0500 (Wed, 24 Aug 2011)
New Revision: 5003

Modified:
   branches/release-0.93/libexec/_swiftwrap.staging
Log:
better error message than "Exit code: x" when app fails

Modified: branches/release-0.93/libexec/_swiftwrap.staging
===================================================================
--- branches/release-0.93/libexec/_swiftwrap.staging	2011-08-24 20:52:12 UTC (rev 5002)
+++ branches/release-0.93/libexec/_swiftwrap.staging	2011-08-24 21:31:47 UTC (rev 5003)
@@ -300,7 +300,7 @@
 	fi
 	"$EXEC" "${CMDARGS[@]}" 1>"$STDOUT" 2>"$STDERR" <"$STDIN"
 fi
-checkError $? "Exit code $?" <<$STDERR
+checkError $? "Application $EXEC failed with an exit code of $?" <<$STDERR
 
 if [ ! -s "$STDOUT" ]; then
 	log "Removing empty stdout"




More information about the Swift-commit mailing list