This is an automated email from the ASF dual-hosted git repository. kenhuuu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 79f853beb7d4a2177ea779af38795bf38d7bd322 Author: Ken Hu <[email protected]> AuthorDate: Tue Jun 9 10:16:50 2026 -0700 Map closed transactions to 404 error CTR Assisted-by: Claude Code:claude-opus-4-6 --- .../tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java index 0c64aca813..390dd85d05 100644 --- a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java +++ b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java @@ -324,7 +324,7 @@ public class HttpGremlinEndpointHandler extends SimpleChannelInboundHandler<Requ } } catch (RejectedExecutionException ree) { writeError(requestCtx, GremlinError.rateLimiting(), serializer.getValue1()); - } catch (NoSuchElementException nsee) { + } catch (NoSuchElementException | IllegalStateException nsee) { writeError(requestCtx, GremlinError.transactionNotFound(requestCtx.getTransactionId()), serializer.getValue1()); } }
