diff options
Diffstat (limited to 'repository/config_mem.go')
-rw-r--r-- | repository/config_mem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/config_mem.go b/repository/config_mem.go index 019bc111..bc532373 100644 --- a/repository/config_mem.go +++ b/repository/config_mem.go @@ -49,7 +49,7 @@ func (mc *MemConfig) ReadString(key string) (string, error) { key = normalizeKey(key) val, ok := mc.config[key] if !ok { - return "", ErrNoConfigEntry + return "", fmt.Errorf("%w: missing key %s", ErrNoConfigEntry, key) } return val, nil |