bug: adding a repository without configuration file does not give you a proper error message #6124
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Component
Git Integration
Infrahub version
1.1.9
Current Behavior
When you add a git repository to Infrahub that is missing a
.infrahub.yml
configuration file, then you get animport error
sync status on the repository. All the tasks on the repository show as completed. There is no clear error message that describes what is wrong, or why the import error is appearing.Expected Behavior
A clear error message, or failing task that describes what is wrong, the missing configuration file in the repository.
Steps to Reproduce
https://github.com/opsmill/schema-library.git
as a read-only repository to Infrahub (or any other repository with missing.infrahub.yml
configuration file)Additional Information
No response
The text was updated successfully, but these errors were encountered: