[Swift-commit] r6411 - trunk/libexec

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Wed Apr 3 14:46:27 CDT 2013


Author: hategan
Date: 2013-04-03 14:46:27 -0500 (Wed, 03 Apr 2013)
New Revision: 6411

Modified:
   trunk/libexec/vdl-int.k
Log:
fixed error file processing in status.mode=files

Modified: trunk/libexec/vdl-int.k
===================================================================
--- trunk/libexec/vdl-int.k	2013-03-28 16:10:02 UTC (rev 6410)
+++ trunk/libexec/vdl-int.k	2013-04-03 19:46:27 UTC (rev 6411)
@@ -46,15 +46,15 @@
 					log(LOG:INFO, "SUCCESS jobid={jobid} - Success file found")
 				)
 				sequential(
-					try (
-						msg = checkErrorFile(rhost, wfdir, jobid, jobdir)
+					msg := try (
+						checkErrorFile(rhost, wfdir, jobid, jobdir)
 						sequential (
 							log(LOG:INFO, "NO_STATUS_FILE jobid={jobid} - Both status files are missing")
 							throw("No status file was found. Check the shared filesystem on {rhost}")
 						)
 					)
+					throw(msg)
 				)
-				throw(checkErrorFile(rhost, wfdir, jobid, jobdir))
 			)
 		)
 		




More information about the Swift-commit mailing list