Skip to content

Commit 04d105d

Browse files
committed
show log when failed
1 parent 4929d35 commit 04d105d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/ruby-build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ build_failed() {
2929
echo
3030
echo "Inspect or clean up the working tree at ${TEMP_PATH}"
3131
echo "Results logged to ${LOG_PATH}"
32-
echo
32+
echo "Last 10 log lines:"
33+
tail -n 10 $LOG_PATH
3334
} >&3
3435
exit 1
3536
}

0 commit comments

Comments
 (0)