add exception in log

This commit is contained in:
subframe7536 2023-07-29 16:31:13 +08:00
parent fd71195c58
commit 2885419610

View file

@ -79,7 +79,7 @@ if not path.exists(path.join(root, "FontPatcher")):
remove(zip_path)
except Exception as e:
print(
"fail to download Font Patcher, please consider to download it manually, put downloaded 'FontPatcher.zip' in the 'source' folder and run this script again."
f"fail to download Font Patcher, please consider to download it manually, put downloaded 'FontPatcher.zip' in the 'source' folder and run this script again. Error: {e}"
)
exit(1)