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

fix: fatal when jsonPAth dependency dosen't exsit should display the sumup #151

Open
arthur91f opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@arthur91f
Copy link
Owner

arthur91f commented May 17, 2024

When brick.yml dependencies jsonpath is wrong it quit directly. But it should skip next brick to execute and display the sumup with the error and all brick skipped and all previously executed brick.

$ exeiac lay infra/bastion
-- infra/bastion/instance ------------------------------------------------------
2024/05/17 11:05:48 Error happened when solving dependency JSON path of brick infra/bastion/instance (jsonPath: '$.network_id'): unknown key network_id

$ grep -rn 'Error happened when solving dependency JSON path of brick'
src/infra/brick.go:209:			log.Fatalf("Error happened when solving dependency JSON path of brick %v (jsonPath: '%v'): %v"
@arthur91f arthur91f added this to exeIaC May 17, 2024
@arthur91f arthur91f converted this from a draft issue May 17, 2024
@arthur91f arthur91f added bug Something isn't working good first issue Good for newcomers labels May 17, 2024
@arthur91f arthur91f added this to the alpha milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant