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 committed Sep 22, 2023
1 parent 796c309 commit cfdd51e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String sendAuthenticatedGetRequest(String requestUrl) throws IOException
String username = System.getenv(ENV_USERNAME);
String password = System.getenv(ENV_PASSWORD);
if (username == null || password == null) {
throw new IOException("Environment variables MS_USER and PASSWORD must be set.");
throw new IOException("Environment variables " + ENV_USERNAME + " and " + ENV_PASSWORD + " must be set.");
}

HttpGet request = new HttpGet(requestUrl);
Expand Down

0 comments on commit cfdd51e

Please sign in to comment.