From 9a64795f5dd923af37c01dec29a775c6df1d3b17 Mon Sep 17 00:00:00 2001 From: Jan Keim Date: Fri, 22 Sep 2023 09:13:17 +0200 Subject: [PATCH] Update stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ardoco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dominik Fuchß --- .../informants/corenlp/textprocessor/HttpCommunicator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ardoco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java b/stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ardoco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java index 20a42ecb5..358706859 100644 --- a/stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ardoco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java +++ b/stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ardoco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java @@ -39,7 +39,7 @@ public String sendAuthenticatedPostRequest(String requestUrl, String body) throw String username = System.getenv(ENV_USERNAME); String password = System.getenv(ENV_PASSWORD); if (username == null || password == null) { - throw new IOException("Environment variables USERNAME and PASSWORD must be set."); + throw new IOException("Environment variables " + ENV_USERNAME + " and " + ENV_PASSWORD + " must be set."); } HttpPost request = new HttpPost(requestUrl);