Skip to content

Commit

Permalink
Merge pull request #366 from navikt/feature/juster-logging
Browse files Browse the repository at this point in the history
Endret til å bruke felles loggløsning for alle typer grunnlag
  • Loading branch information
rinnan17 authored Aug 21, 2024
2 parents 3f70283 + 66d5fa4 commit 4c1458d
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 4c1458d

Please sign in to comment.