From 45e4b63525b7dbf5af6865a775ad02f7f8b9c0ce Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 18 Jul 2022 20:32:39 +0200 Subject: [PATCH] SmallRye GraphQL - Throw the original throwable on error --- .../smallrye/graphql/runtime/SmallRyeGraphQLAbstractHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLAbstractHandler.java b/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLAbstractHandler.java index 3a09077350f90..f0df7f5932297 100644 --- a/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLAbstractHandler.java +++ b/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLAbstractHandler.java @@ -72,6 +72,7 @@ public void handle(final RoutingContext ctx) { handleWithIdentity(ctx); } catch (Throwable t) { currentManagedContext.terminate(); + throw t; } } }