Skip to content

Commit 679f967

Browse files
committed
Better logging on webstandard job errors on CI.
1 parent 0f0f46a commit 679f967

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/jobs/webstandard.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ wget \
6464
http://localhost/domjudge/"$URL"
6565
set -e
6666
RET=$?
67+
if [ $RET -ne 0 ]; then
68+
section_end
69+
section_start "Server log"
70+
tail -n1000 /opt/domjude/domserver/webapp/var/log/prod.log
71+
fi
6772
section_end
6873

6974
section_start "Archive downloaded site"

0 commit comments

Comments
 (0)