From 1a8b72ddbf707f40ef37c6102d56b7295972fc02 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Wed, 16 Oct 2024 14:37:04 +0800 Subject: [PATCH] chore: update error message for consistency --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 58d5d7f8e..4cc1b7d2e 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -719,7 +719,7 @@ func (c *config) Load(path string, fsys fs.FS) error { fmt.Fprintf(os.Stderr, "WARN: project_id is missing for [remotes.%s]\n", name) } if err := base.Validate(fsys); err != nil { - return errors.Errorf("invalid remote config %s: %w", name, err) + return errors.Errorf("invalid config for [remotes.%s]: %w", name, err) } c.Remotes[name] = base }