Skip to content

Commit 34e8164

Browse files
committed
Fix type in trace compatibility error, fixes #4392
1 parent 963ba5c commit 34e8164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/query.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def initialize(schema, query_string = nil, query: nil, document: nil, context: n
105105
end
106106

107107
if context_tracers.any? && !(schema.trace_class <= GraphQL::Tracing::LegacyTrace)
108-
raise ArgumentError, "context[:tracers] and context[:backtrace] are not supported without `tracer_class(GraphQL::Tracing::LegacyTrace)` in the schema configuration, please add it."
108+
raise ArgumentError, "context[:tracers] and context[:backtrace] are not supported without `trace_class(GraphQL::Tracing::LegacyTrace)` in the schema configuration, please add it."
109109
end
110110

111111

0 commit comments

Comments
 (0)