Commit fbf0b6ea authored by Lukas Weber's avatar Lukas Weber Committed by Lukas Sommer

Fixed off by one error

parent 9374818a
Pipeline #1286 passed with stages
in 117 minutes and 50 seconds
......@@ -97,7 +97,7 @@ class ProgressTrackingFileWatcher(_logger: Option[Logger] = None, pollInterval:
*/
def closeWithReturnCode(returnCode: Int): Unit = {
if(returnCode == 0) {
logger.info("Finished %s after %s (Total Elapsed: %s)".format(progressionStringsInfo(currentState - 1)._2, timeString(stageStart), timeString(start)))
logger.info("Finished %s after %s (Total Elapsed: %s)".format(progressionStringsInfo(currentState)._2, timeString(stageStart), timeString(start)))
super.closeAll()
} else {
logger.error("%s failed after %s (Total Elapsed: %s)".format(progressionStringsInfo(currentState)._2, timeString(stageStart), timeString(start)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment