Skip to content

Commit

Permalink
Oppdatert konfig VI #deploy-organisasjon-tilgang-service
Browse files Browse the repository at this point in the history
  • Loading branch information
krharum committed Sep 29, 2023
1 parent f7e88b0 commit 1d9bd6f
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ public Flux<RightDTO> call() {
.bodyToFlux(RightDTO.class)
.doOnError(
throwable -> throwable instanceof WebClientResponseException,
throwable -> log.error(
"Feil ved henting av rettigheter i Altinn. \n{}",
((WebClientResponseException) throwable).getResponseBodyAsString()
)
throwable -> {
var response = (WebClientResponseException) throwable;
log.error(
"Feil ved henting av rettigheter i Altinn. {} {} {} {}\n",
response.getResponseBodyAsString(),
response.getHeaders(),
response.getStatusCode(),
response.getStatusText());
}
);
}
}

0 comments on commit 1d9bd6f

Please sign in to comment.