Skip to content

Commit

Permalink
fix: display filename which has error
Browse files Browse the repository at this point in the history
  • Loading branch information
PFC-developer committed Sep 20, 2024
1 parent d39896f commit bfefe99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func loadChainsYaml(configFile string) error {
var newChains []builder.ChainNodeConfig
err = yaml.Unmarshal(bz, &newChains)
if err != nil {
return fmt.Errorf("error unmarshalling yaml from file: %s: %w", configFile, err)
return fmt.Errorf("error unmarshalling yaml from file: %s- %s: %w", configFile, v, err)
}
combinedChains = append(combinedChains, newChains...)
}
Expand Down

0 comments on commit bfefe99

Please sign in to comment.