Skip to content

Commit

Permalink
Loader init errors results in a Fatal now
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Oct 6, 2022
1 parent 3cb3855 commit 0a7b076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/engine/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func Run(path string) (*Objects, error) {
ui.Debug().Msgf("Initializing loader for %v", loader.Name())
err := loader.Init()
if err != nil {
return nil, err
ui.Fatal().Msgf("Loader %v init failure: %v", loader.Name(), err.Error())
}
loaders = append(loaders, loader)
}
Expand Down

0 comments on commit 0a7b076

Please sign in to comment.