fix: improve error messages for config file reading

This commit is contained in:
jon brookes 2025-08-21 16:46:58 +01:00
parent 8347534736
commit faa7927376
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ func ReadBaseConfig(path string) (BaseConfig, error) {
data, err := os.ReadFile(path)
if err != nil {
return BaseConfig{}, fmt.Errorf("failed to read file: %w", err)
return BaseConfig{}, fmt.Errorf("failed to read the config file: %w", err)
}
if err := json.Unmarshal(data, &config); err != nil {