Skip to content

Commit

Permalink
feat: log error and exit if config path not found
Browse files Browse the repository at this point in the history
  • Loading branch information
arwer13 committed Jun 10, 2024
1 parent 54b689f commit bee4ffe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def main():
config_path = os.path.join(args.path, filename)
if os.path.isfile(config_path):
process_config(config_path, args.support_brownie, args.prettify)
else:
logger.error(f"Specified config path {args.path} not found")
sys.exit(1)

execution_time = time.time() - START_TIME

Expand Down

0 comments on commit bee4ffe

Please sign in to comment.