commit:     d5223d3408561dee4677144277ecfe973931569c
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 18:39:54 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 18:39:54 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=d5223d34

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 <AT> gentoo.org>

 tools/catalyst-auto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 028e09ca..3dfd1233 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -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

Reply via email to