Skip to content

Commit

Permalink
fix ManglerTilgangException
Browse files Browse the repository at this point in the history
  • Loading branch information
janolaveide committed Feb 16, 2021
1 parent ab3d442 commit b20a7d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ public T handleResponse(final HttpResponse response) throws IOException {
return entity != null ? readEntity(entity) : null;
}
if (status == HttpStatus.SC_FORBIDDEN) {
throw new ManglerTilgangException(endpoint);
throw new ManglerTilgangException("F-468815", "Feilet mot " + endpoint);
}

throw new IntegrasjonException(endpoint, status, response.getStatusLine().getReasonPhrase());

0 comments on commit b20a7d0

Please # to comment.