Skip to content

Commit

Permalink
Endret til å bruke felles loggløsning for alle typer grunnlag
Browse files Browse the repository at this point in the history
  • Loading branch information
rinnan17 committed Aug 21, 2024
1 parent b40eb4d commit 66d5fa4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ open class InntektskomponentenConsumer(private val restTemplate: HttpHeaderRestT
// Utelater feillogging ved 400 - Bad Request (inntektsabonnement finnes ikke for personen)
// og 500 (inntektsabonnementet er ikke aktivt ennå)
if (restResponse.statusCode == HttpStatus.NOT_FOUND ||
restResponse.statusCode == HttpStatus.INTERNAL_SERVER_ERROR
restResponse.statusCode == HttpStatus.INTERNAL_SERVER_ERROR ||
restResponse.statusCode == HttpStatus.BAD_REQUEST
) {
InntektskomponentenService.LOGGER.warn(
"Mangler abonnement for henting av inntekter fra Inntektskomponenten. " +
Expand Down

0 comments on commit 66d5fa4

Please sign in to comment.