From c6355fdb99925db14d8a59a6a75f8170e0d477ce Mon Sep 17 00:00:00 2001 From: Helder Moreira Date: Fri, 19 Feb 2021 14:46:58 +0000 Subject: [PATCH] utils: fix wrong filename in error message (#8643) --- server/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util.go b/server/util.go index b431b715db..bc913eb296 100644 --- a/server/util.go +++ b/server/util.go @@ -210,7 +210,7 @@ func interceptConfigs(rootViper *viper.Viper) (*tmcfg.Config, error) { rootViper.SetConfigName("config") rootViper.AddConfigPath(configPath) if err := rootViper.ReadInConfig(); err != nil { - return nil, fmt.Errorf("failed to read in app.toml: %w", err) + return nil, fmt.Errorf("failed to read in config.toml: %w", err) } }