From d2dfd27b887d61afe407b2cb2be62f60e3d0b237 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 10 Jun 2025 15:33:41 +0200 Subject: [PATCH] nit error message --- backend/windmill-queue/src/jobs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/windmill-queue/src/jobs.rs b/backend/windmill-queue/src/jobs.rs index 3b0143c826..1676148b00 100644 --- a/backend/windmill-queue/src/jobs.rs +++ b/backend/windmill-queue/src/jobs.rs @@ -2716,7 +2716,7 @@ pub async fn get_result_by_id( .await { Ok(res) => Ok(res), - Err(_) => { + Err(e) => { let root = sqlx::query!( "SELECT id As \"id!\", @@ -2733,7 +2733,7 @@ pub async fn get_result_by_id( let restarted_from_id = not_found_if_none( root.restarted_from, "Id not found in the result's mapping of the root job and root job had no restarted from information", - format!("parent: {}, root: {}, id: {}", flow_id, root.id, node_id), + format!("parent: {}, root: {}, id: {}, error: {e:#}", flow_id, root.id, node_id), )?; get_result_by_id_from_original_flow(