catalyst-auto: e-mail more lines of failed logs (1000 instead of 200)

It helps if the log contains the actual error

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2022-07-18 20:39:54 +02:00
parent dca7fccd1d
commit d5223d3408
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206

View file

@ -61,7 +61,7 @@ send_email() {
local body
if [ -n "${logfile}" ]; then
body=$(printf '%b\n\n\n' "${message}"; tail -n 200 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
body=$(printf '%b\n\n\n' "${message}"; tail -n 1000 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
else
body=${message}
fi