Revised final Queue status line to display number of jobs in each state when the script fails
* Addresses PT 61552466 * Included a simple scala script in private/testdata that will always fail
This commit is contained in:
parent
1b2d6ae5e4
commit
a5abc079dc
|
|
@ -207,7 +207,10 @@ class QCommandLine extends CommandLineProgram with Logging {
|
|||
}
|
||||
}
|
||||
}
|
||||
logger.info("Script %s with %d total jobs".format(if (success) "completed successfully" else "failed", functionsAndStatusSize))
|
||||
if (success)
|
||||
logger.info("Script completed successfully with %d total jobs".format(functionsAndStatusSize))
|
||||
else
|
||||
logger.info("Script failed: %s".format(qGraph.formattedStatusCounts))
|
||||
result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue