From 80b136d8512bdb5213db6e156cffc8e95325491a Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Fri, 28 Jun 2024 12:51:49 +0100 Subject: [PATCH] ENH: Improve error logging in `Child.ask_multiple` skipci --- octue/resources/child.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octue/resources/child.py b/octue/resources/child.py index fdf9e2924..4cdd46780 100644 --- a/octue/resources/child.py +++ b/octue/resources/child.py @@ -215,8 +215,8 @@ def ask_multiple( if log_errors: for question_index, question in failed_questions.items(): logger.error( - "Question %d failed after %d retries (see below for error).", - question_index, + "Question %s failed after %d retries (see below for error).", + question["question_uuid"], max_retries, exc_info=answers[question_index][0], )