Skip to content

Commit

Permalink
Update airlift to 296
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Jan 14, 2025
1 parent 85e146b commit bf08dfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
<air.test.jvm.additional-arguments>${air.test.jvm.additional-arguments.default}</air.test.jvm.additional-arguments>

<!-- keep dependency properties sorted -->
<dep.airlift.version>295</dep.airlift.version>
<dep.airlift.version>296</dep.airlift.version>
<dep.alluxio.version>2.9.6</dep.alluxio.version>
<dep.antlr.version>4.13.2</dep.antlr.version>
<dep.avro.version>1.12.0</dep.avro.version>
Expand Down Expand Up @@ -228,7 +228,6 @@

<dependencyManagement>
<dependencies>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-sdk-bom</artifactId>
Expand Down

0 comments on commit bf08dfa

Please sign in to comment.