Commit 621ddcae authored by Sam Stephenson's avatar Sam Stephenson
Browse files

Merge pull request #66 from grosser/show-log-on-fail

show log excerpt when failed -- fast debugging
parents 4929d352 04d105d8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ build_failed() {
    echo
    echo "Inspect or clean up the working tree at ${TEMP_PATH}"
    echo "Results logged to ${LOG_PATH}"
    echo
    echo "Last 10 log lines:"
    tail -n 10 $LOG_PATH
  } >&3
  exit 1
}