From ba19364f7200801a4f569d5d6fb1e66fc8c4cef3 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Fri, 29 Dec 2023 15:44:22 +0800 Subject: [PATCH] chore(plugin): add log when file not uploaded due to folder not found --- custom_routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_routes.py b/custom_routes.py index 25542ca..282b23f 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -250,6 +250,7 @@ async def upload_file(prompt_id, filename, subfolder=None, content_type="image/p output_dir = folder_paths.get_directory_by_type(type) if output_dir is None: + print(filename, "Upload failed: output_dir is None") return if subfolder != None: