From 3dadc119f44fca1029ec4b349d71ce99fb20a4b6 Mon Sep 17 00:00:00 2001 From: melMass Date: Sun, 30 Jul 2023 02:16:12 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=9A=A7=20more=20info=20for=20bug?= =?UTF-8?q?=20reports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index de37f06..aec26e0 100644 --- a/__init__.py +++ b/__init__.py @@ -131,15 +131,17 @@ def load_nodes(): shutil.copytree(web_tgt, web_mtb) log.info(f"Successfully copied {web_tgt} to {web_mtb}") - except Exception: + except Exception as e: log.warn( f"Failed to symlink and copy {web_tgt} to {web_mtb}. Please copy the folder manually." ) + log.warn(e) - except Exception: # OSError + except Exception as e: log.warn( f"Failed to create symlink to {web_mtb}. Please copy the folder manually." ) + log.warn(e) else: log.warn( f"Comfy root probably not found automatically, please copy the folder {web_mtb} manually in the web/extensions folder of ComfyUI"