Change all fmt.Errorfs to use %w
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ func GetConfig() (config.Config[Config], error) {
|
||||
|
||||
_, err := configData.Get()
|
||||
if err != nil {
|
||||
return configData, fmt.Errorf("Could not read config file: %v", err)
|
||||
return configData, fmt.Errorf("Could not read config file: %w", err)
|
||||
}
|
||||
|
||||
return configData, nil
|
||||
|
||||
Reference in New Issue
Block a user