Skip to content

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

@arthur91f

Description

@arthur91f

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions