From 36d44cfe036db5b380229d371212ee9a7852c00e Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Tue, 14 Jan 2025 18:29:37 +0100 Subject: [PATCH] Update airlift to 296 --- .../src/main/java/io/trino/server/ThrowableMapper.java | 4 ---- pom.xml | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/trino-main/src/main/java/io/trino/server/ThrowableMapper.java b/core/trino-main/src/main/java/io/trino/server/ThrowableMapper.java index ef0331ff4f95..1399e6d118f7 100644 --- a/core/trino-main/src/main/java/io/trino/server/ThrowableMapper.java +++ b/core/trino-main/src/main/java/io/trino/server/ThrowableMapper.java @@ -15,7 +15,6 @@ import com.google.common.base.Throwables; import com.google.inject.Inject; -import io.airlift.jaxrs.ParsingException; import jakarta.ws.rs.BadRequestException; import jakarta.ws.rs.ForbiddenException; import jakarta.ws.rs.InternalServerErrorException; @@ -84,9 +83,6 @@ public Response toResponse(Throwable throwable) case TimeoutException timeoutException -> plainTextError(Response.Status.REQUEST_TIMEOUT) .entity("Error 408 Timeout: " + timeoutException.getMessage()) .build(); - case ParsingException parsingException -> Response.status(Response.Status.BAD_REQUEST) - .entity(Throwables.getStackTraceAsString(parsingException)) - .build(); case WebApplicationException webApplicationException -> webApplicationException.getResponse(); default -> { ResponseBuilder responseBuilder = plainTextError(Response.Status.INTERNAL_SERVER_ERROR); diff --git a/pom.xml b/pom.xml index ff60da69932e..c17eefbcb15b 100644 --- a/pom.xml +++ b/pom.xml @@ -184,7 +184,7 @@ ${air.test.jvm.additional-arguments.default} - 295 + 296 2.9.6 4.13.2 1.12.0 @@ -228,7 +228,6 @@ - com.azure azure-sdk-bom