Skip to content

Commit

Permalink
Add handling of AppSec GraphQL instrumentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
y9v committed Sep 9, 2024
1 parent 28f14ca commit b2fb79e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/datadog/appsec/contrib/graphql/appsec_trace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def execute_multiplex(multiplex:)
end

multiplex_return
rescue StandardError => e
Datadog.logger.error(e.message)

multiplex_return || super
end
end
end
Expand Down

0 comments on commit b2fb79e

Please sign in to comment.