-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
enhancementgood first issueGood first ticket, minimal dependenciesGood first ticket, minimal dependencieszero-applyTickets related to the zero apply commandTickets related to the zero apply commandzero-createTickets related to the zero create commandTickets related to the zero create command
Description
zero/internal/config/projectconfig/project_config.go
Lines 70 to 74 in 0c9bf0c
| log.Panicf("failed to read config: %v", err) | |
| } | |
| err = yaml.Unmarshal(data, &config) | |
| if err != nil { | |
| log.Panicf("failed to parse config: %v", err) |
This is a fairly common failure case and it should be pretty obvious to the user how to resolve it, there's no need for the stack trace we get with
log.Panicf, let's use exit.Fatal instead.Metadata
Metadata
Assignees
Labels
enhancementgood first issueGood first ticket, minimal dependenciesGood first ticket, minimal dependencieszero-applyTickets related to the zero apply commandTickets related to the zero apply commandzero-createTickets related to the zero create commandTickets related to the zero create command