1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-22 22:24:43 +02:00

Add try-except in icomoon_upload. Workflow will also upload geckodriver.log as an artifact for debugging purpose

This commit is contained in:
Thomas Bui
2020-09-04 10:03:07 -07:00
parent dcdcc6060b
commit a7619e2330
4 changed files with 30 additions and 16 deletions

View File

@@ -59,6 +59,7 @@ def get_svgs_paths(new_icons: List[dict], icons_folder_path: str) -> List[str]:
if not folder_path.is_dir():
raise ValueError(f"Invalid path. This is not a directory: {folder_path}.")
# TODO: remove the try-except when the devicon.json is upgraded
try:
aliases = icon_info["aliases"]
except KeyError: