Skip to content

Commit

Permalink
fix/gitflow better error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Jul 4, 2024
1 parent 0c8dced commit 7e7efd1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def main():
replacements = json.load(f)
except FileNotFoundError:
logging.error(f"Error: {args.config} file not found.")
logging.error(f"Error: If your repo contains a .project.properties.json.template file - update the values inside
the template file and then rename {args.config} to .project.properties.json")
logging.error(f"Error: If your repo contains a {args.config}.template file - update the values inside
the template file and then rename {args.config}.template to {args.config}")
sys.exit(1)
except json.JSONDecodeError:
logging.error(f"Error: {args.config} is not a valid JSON file.")
Expand Down

0 comments on commit 7e7efd1

Please sign in to comment.