diff --git a/config/base.go b/config/base.go index 7e2ce5f..71f2b4b 100644 --- a/config/base.go +++ b/config/base.go @@ -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 { diff --git a/config/customer.go b/config/customer.go index 560fff2..9fd2bee 100644 --- a/config/customer.go +++ b/config/customer.go @@ -17,7 +17,7 @@ type CustomerConfig struct { func ReadCustomerConfig(path string) (CustomerConfig, error) { data, err := os.ReadFile(path) if err != nil { - return CustomerConfig{}, fmt.Errorf("failed to read file: %w", err) + return CustomerConfig{}, fmt.Errorf("failed to read customer configfile: %w", err) } var cust CustomerConfig