mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-19 00:16:45 +02:00
Log the exception while trying to create an extension info file
This commit is contained in:
@@ -285,8 +285,8 @@ def make_model_folders():
|
|||||||
try:
|
try:
|
||||||
with open(os.path.join(model_dir_path, help_file_name), "w", encoding="utf-8") as f:
|
with open(os.path.join(model_dir_path, help_file_name), "w", encoding="utf-8") as f:
|
||||||
f.write(help_file_contents)
|
f.write(help_file_contents)
|
||||||
except:
|
except Exception as e:
|
||||||
pass
|
log.exception(e)
|
||||||
|
|
||||||
|
|
||||||
def is_malicious_model(file_path):
|
def is_malicious_model(file_path):
|
||||||
|
Reference in New Issue
Block a user