mirror of
https://github.com/konpa/devicon.git
synced 2025-08-15 11:04:13 +02:00
Changed return to sys.exit in python script to show error
This commit is contained in:
6
.github/scripts/icomoon_peek.py
vendored
6
.github/scripts/icomoon_peek.py
vendored
@@ -38,11 +38,11 @@ def main():
|
||||
runner.upload_svgs(svgs, screenshot_folder)
|
||||
print("Task completed.")
|
||||
except TimeoutException as e:
|
||||
print("Selenium Time Out Error: ", e.stacktrace, sep='\n')
|
||||
sys.exit("Selenium Time Out Error: \n" + e)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
sys.exit(e)
|
||||
finally:
|
||||
runner.close()
|
||||
runner.close()
|
||||
|
||||
|
||||
def find_object_added_in_this_pr(icons: List[dict], pr_title: str):
|
||||
|
Reference in New Issue
Block a user