Skip to content

Commit

Permalink
Update stages/text-preprocessing/src/main/java/edu/kit/kastel/mcse/ar…
Browse files Browse the repository at this point in the history
…doco/core/text/providers/informants/corenlp/textprocessor/HttpCommunicator.java

Co-authored-by: Dominik Fuchß <dominik.fuchss@kit.edu>
  • Loading branch information
Gram21 and dfuchss authored Sep 22, 2023
1 parent 4a0eb32 commit 9a64795
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9a64795

Please sign in to comment.