WARN [linter] revive: the following rules (context-keys-type,errorf,modifies-value-receiver,time-naming,unexported-return,var-declaration)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
grumbulon 2022-09-16 19:50:29 -04:00
parent 323a99b652
commit 7b3b9eeb53

View file

@ -135,7 +135,7 @@ func CreateQuery(opts util.Options) (util.Response, error) {
resolver, err := resolvers.LoadResolver(opts)
if err != nil {
return util.Response{}, fmt.Errorf("unable to load resolvers: %v", err)
return util.Response{}, fmt.Errorf("unable to load resolvers: %w", err)
}
opts.Logger.Info("Query successfully loaded")