Skip to content

Commit

Permalink
FIX: Avoid logging exception twice per failure in Child.ask_multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Jun 28, 2024
1 parent c1839e8 commit 4ef076c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octue/resources/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def ask_multiple(
question_uuid = questions[question_index]["question_uuid"]
answers[question_index] = (e, question_uuid)

logger.exception(
logger.error(
"Question %s failed. Run 'octue get-diagnostics gs://<diagnostics-cloud-path>/%s "
"--download-datasets' to get the crash diagnostics.",
question_uuid,
Expand Down

0 comments on commit 4ef076c

Please sign in to comment.