Skip to content

Commit

Permalink
Fjerner logging - ferdig med testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
olekvernberg committed Aug 9, 2024
1 parent 05ea28c commit 14e43a7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,11 @@ class VedtakendringerService(

private fun hentInntekt(fnr: String): HentInntektListeResponse? {
try {
val inntektReponse = inntektClient.hentInntekt(
return inntektClient.hentInntekt(
fnr,
YearMonth.now().minusMonths(5),
YearMonth.now(),
)
secureLogger.info("InntektResponse: $inntektReponse")
return inntektReponse
} catch (e: Exception) {
secureLogger.warn("Feil ved kall mot inntektskomponenten ved kall mot person $fnr. Message: ${e.message} Cause: ${e.cause}")
}
Expand Down

0 comments on commit 14e43a7

Please sign in to comment.