Skip to content

Commit

Permalink
Append log message building lamp error cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Cem Küçük committed Mar 16, 2020
1 parent 0de364f commit 722c02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def executeCommandAndWait(command, logPrefix = "") {
def err = new StringBuilder()
proc.waitForProcessOutput(out, err)
if (out) println logPrefix + " out:\n$out"
if (err) println logPrefix + " err:\n$err"
if (proc.exitValue()) {
if (System.getenv("IS_LAMP_MANDATORY")) {
throw new TaskExecutionException(tasks.generateLampZip, new Exception(err.toString()))
Expand Down

0 comments on commit 722c02f

Please sign in to comment.