Changed the wording of error messages slightly

This commit is contained in:
David J. Allen 2024-05-08 13:39:51 -06:00
parent cc7bad8b94
commit 0403b2bcbc
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
11 changed files with 31 additions and 32 deletions

View file

@ -21,7 +21,7 @@ func LoadConfig(path string) error {
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
return fmt.Errorf("config file not found: %w", err)
} else {
return fmt.Errorf("could not load config file: %w", err)
return fmt.Errorf("failed toload config file: %w", err)
}
}