diff --git a/pkg/query/query.go b/pkg/query/query.go index e1fc132..9ab22a7 100644 --- a/pkg/query/query.go +++ b/pkg/query/query.go @@ -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")