Skip to content

Commit d98eb41

Browse files
committed
Logg senere med callId
1 parent 89e688a commit d98eb41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dp-inntekt-api/src/main/kotlin/no/nav/dagpenger/inntekt/inntektskomponenten/v1/InntektskomponentHttpClient.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class InntektskomponentHttpClient(
5050
request: InntektkomponentRequest,
5151
timeouts: InntektskomponentClient.ConnectionTimeout
5252
): InntektkomponentResponse {
53-
LOGGER.info("Fetching new inntekt for $request")
54-
5553
val requestBody = HentInntektListeRequest(
5654
"DagpengerGrunnlagA-Inntekt",
5755
"Dagpenger",
@@ -67,6 +65,8 @@ class InntektskomponentHttpClient(
6765
withLoggingContext(
6866
"callId" to callId
6967
) {
68+
LOGGER.info("Fetching new inntekt for $request")
69+
7070
try {
7171
val (_, response, result) = with(hentInntektlisteUrl.httpPost()) {
7272
timeout(timeouts.connectionTimeout.toMillis().toInt())

0 commit comments

Comments
 (0)