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);