From c5606f8e8f739a11a94ab357a6e2d46b7e468474 Mon Sep 17 00:00:00 2001 From: Acly Date: Mon, 5 Jan 2026 10:16:54 +0100 Subject: [PATCH] API: print filename with stack traces when there is an error during inspection --- api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api.py b/api.py index b02a67c..2e80d69 100644 --- a/api.py +++ b/api.py @@ -145,6 +145,7 @@ def inspect_safetensors(filename: str, model_type: str, is_checkpoint: bool): return result return {"base_model": "unknown"} except Exception as e: + print("[comfyui-tooling-nodes] Error inspecting file", filename) traceback.print_exc() return {"base_model": "unknown", "error": f"Failed to detect base model: {e}"}