From 385382fcad30abf7aa9aa25fd55ed8367bb603db Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 28 Nov 2022 17:52:32 +0100 Subject: [PATCH] increase failure loglines capture --- backend/windmill-worker/src/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/worker.rs b/backend/windmill-worker/src/worker.rs index 2990df8c70..f01e325642 100644 --- a/backend/windmill-worker/src/worker.rs +++ b/backend/windmill-worker/src/worker.rs @@ -858,7 +858,7 @@ async fn handle_queued_job( Error::ExitStatus(_) => { let last_10_log_lines = logs .lines() - .skip(logs.lines().count().max(10) - 10) + .skip(logs.lines().count().max(13) - 13) .join("\n") .to_string() .replace("\n\n", "\n");