From bfd5b726fd1d1cb8dd470ce3f5dc43a74cb06110 Mon Sep 17 00:00:00 2001 From: Thomas Gran Date: Tue, 12 Dec 2023 21:22:42 +0100 Subject: [PATCH 1/2] Log request on system error. --- .../opentripplanner/ext/transmodelapi/TransmodelGraph.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ext/java/org/opentripplanner/ext/transmodelapi/TransmodelGraph.java b/src/ext/java/org/opentripplanner/ext/transmodelapi/TransmodelGraph.java index 66547da6653..ff2d74851cd 100644 --- a/src/ext/java/org/opentripplanner/ext/transmodelapi/TransmodelGraph.java +++ b/src/ext/java/org/opentripplanner/ext/transmodelapi/TransmodelGraph.java @@ -73,7 +73,10 @@ Response executeGraphQL( } catch (CoercingParseValueException | UnknownOperationException e) { return ExecutionResultMapper.badRequestResponse(e.getMessage()); } catch (Exception systemError) { - LOG.error(systemError.getMessage(), systemError); + LOG.error( + systemError.getMessage() + "\n Request: " + query + "\n Variables: " + variables, + systemError + ); return ExecutionResultMapper.systemErrorResponse(systemError.getMessage()); } } From 83dd9b5823751343a8c785d6ac62a774e7b21a18 Mon Sep 17 00:00:00 2001 From: Thomas Gran Date: Tue, 12 Dec 2023 21:52:30 +0100 Subject: [PATCH 2/2] Version 2.5.0-entur-12 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b2f28403e92..990e98dec38 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ https://opentripplanner.org org.opentripplanner otp - 2.5.0-entur-11 + 2.5.0-entur-12 jar