From d51a338e8ff4af09e63ef6f617d5867855b52498 Mon Sep 17 00:00:00 2001 From: Rob Ballantyne Date: Thu, 23 Oct 2025 16:41:02 +0100 Subject: [PATCH] log when benchmark file not used --- workers/comfyui-json/data_types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workers/comfyui-json/data_types.py b/workers/comfyui-json/data_types.py index 578a48b..6d46f43 100644 --- a/workers/comfyui-json/data_types.py +++ b/workers/comfyui-json/data_types.py @@ -43,9 +43,10 @@ class ComfyWorkflowData(ApiPayload): } ) except (json.JSONDecodeError, IOError): - log.info(f"{benchmark_file} not found. Using fallback method") + log.error(f"Failed to benchmark using {benchmark_file}") # Fallback: read prompts and construct payload + log.info("Using fallback method for benchmarking") with open("workers/comfyui-json/misc/test_prompts.txt", "r") as f: test_prompts = f.readlines()