Observation Instrumentation will double-wrap CompletionExceptions #780
Labels
in: core
Issues related to config and core support
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
spring-graphql/spring-graphql/src/main/java/org/springframework/graphql/observation/GraphQlObservationInstrumentation.java
Line 152 in 1032f99
This line will unconditionally wrap
error
in aCompletionException
. If the incoming error is already aCompletionException
, this leads to confusing double-wrapping. Consider doing whatCompletableFuture
does and conditionally wrapping:The text was updated successfully, but these errors were encountered: