Skip to content

Commit

Permalink
chore(jobexecutor): log stdout/err for failed bakes to debug integrat…
Browse files Browse the repository at this point in the history
…ion test failures (#490)
  • Loading branch information
maggieneterval committed Dec 27, 2019
1 parent b6d95c7 commit 9d0269d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ class JobExecutorLocal implements JobExecutor {
} else {
bakeStatus.state = BakeStatus.State.CANCELED
bakeStatus.result = BakeStatus.Result.FAILURE
log.info("StdOut for failed job $jobId: $outputContent")
log.info("StdErr for failed job $jobId: $logsContent")
}

jobIdToHandlerMap.remove(jobId)
Expand Down

0 comments on commit 9d0269d

Please sign in to comment.