Skip to content

Commit a82c349

Browse files
committed
Increase traceback length
1 parent 2013ae6 commit a82c349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if ! sphinx-build -b html $INPUT_SPHINX_BUILD_OPTIONS "$doc_dir" "$build_dir"; t
9494
for l in $(find /tmp -name 'sphinx-err*.log'); do
9595
# Replace "\n" to "%0A" for supporting multiline text in the error message.
9696
# https://github.com/actions/toolkit/issues/193#issuecomment-605394935
97-
traceback=$(tail -n100 $l | awk '{ printf "%s%%0A", $0 }')
97+
traceback=$(tail -n500 $l | awk '{ printf "%s%%0A", $0 }')
9898
echo "::error title=Sphinx traceback::$traceback"
9999
done
100100
echo ::endgroup::

0 commit comments

Comments
 (0)