From e38134f7073961ed81a6124642483d4be204621c Mon Sep 17 00:00:00 2001 From: Naohisa Murakami Date: Sat, 15 May 2021 23:06:39 +0900 Subject: [PATCH] Fix error message when saving generated LOCAL_ROOT_URL config (#15880) (#15882) Backport of #15880. --- cmd/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/web.go b/cmd/web.go index 423917ba4e11..3a5c36833b27 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -175,7 +175,7 @@ func setPort(port string) error { cfg.Section("server").Key("LOCAL_ROOT_URL").SetValue(defaultLocalURL) if err := cfg.SaveTo(setting.CustomConf); err != nil { - return fmt.Errorf("Error saving generated JWT Secret to custom config: %v", err) + return fmt.Errorf("Error saving generated LOCAL_ROOT_URL to custom config: %v", err) } } return nil