Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update generic error message when repo doe not contain config.json file #1347

Merged

Conversation

joe-yeager
Copy link
Contributor

Description and Context

I noticed there was a generic error message that was being logged when the --template-source does not have config.json file in the project root. Updating that message to give a more actionable error message instead of [ERROR] An error occurred fetching JSON file.

Screenshots

Before

Screenshot 2025-01-21 at 1 43 49 PM

After

Screenshot 2025-01-21 at 1 43 30 PM

@joe-yeager joe-yeager changed the title Update generic error message when repo doe not contain config.json file feat: Update generic error message when repo doe not contain config.json file Jan 21, 2025
Copy link
Contributor

@kemmerle kemmerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@joe-yeager joe-yeager merged commit f1c5289 into main Jan 21, 2025
1 check passed
@joe-yeager joe-yeager deleted the jy/fix-generic-error-message-for-invalid-template-source branch January 21, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants