Skip to content

Commit

Permalink
cmd/geth: better error when config open fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Nov 22, 2024
1 parent 71d7b3b commit 1359296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/geth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func loadBaseConfig(ctx *cli.Context) gethConfig {
// Load config file.
if file := ctx.String(configFileFlag.Name); file != "" {
if err := loadConfig(file, &cfg); err != nil {
utils.Fatalf("%v", err)
utils.Fatalf("failed to load config: %v", err)
}
}

Expand Down

0 comments on commit 1359296

Please sign in to comment.