From bfefe994ea73ee88d1b2b2843fcb246dbd8d71dd Mon Sep 17 00:00:00 2001 From: PFC <81114960+PFC-developer@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:52:13 -0500 Subject: [PATCH] fix: display filename which has error --- cmd/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/build.go b/cmd/build.go index 42c307f..4ef8f20 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -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...) }