From f3e8dd1f2e88c58864563f79dc60d30b2f264acf Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 21 Aug 2024 23:22:12 +0200 Subject: [PATCH] enh: comfyui logs --- backend/apps/images/utils/comfyui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/apps/images/utils/comfyui.py b/backend/apps/images/utils/comfyui.py index a14fcef54..158484223 100644 --- a/backend/apps/images/utils/comfyui.py +++ b/backend/apps/images/utils/comfyui.py @@ -147,6 +147,8 @@ async def comfyui_generate_image( return None try: + log.info("Sending workflow to WebSocket server.") + log.info(f"Workflow: {workflow}") images = await asyncio.to_thread(get_images, ws, workflow, client_id, base_url) except Exception as e: log.exception(f"Error while receiving images: {e}")