chore(plugin): add log when file not uploaded due to folder not found
This commit is contained in:
parent
9d0a52b7ab
commit
ba19364f72
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user