Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Rette feilmelding
Browse files Browse the repository at this point in the history
  • Loading branch information
simhos committed Nov 14, 2023
1 parent 67c4b9e commit 5c2e69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/bidrag/commons/util/SjekkForNyIdent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ class IdentConsumer(
Array<PersonidentDto>::class.java
).body?.first()?.ident ?: ident
} catch (e: NoSuchElementException) {
LOGGER.warn("Bidrag-person fant ingen person på kalt ident: ${e.message}, callId: ${CorrelationId.fetchCorrelationIdForThread()}.\n${e.printStackTrace()}")
LOGGER.warn("Bidrag-person fant ingen person på kalt ident. \nFeilmelding: ${e.message} CallId: ${CorrelationId.fetchCorrelationIdForThread()}.\n$e")
ident
} catch (e: Exception) {
LOGGER.error("Noe gikk galt i kall mot bidrag-person: ${e.message}, callId: ${CorrelationId.fetchCorrelationIdForThread()}.\n${e.printStackTrace()}")
LOGGER.error("Noe gikk galt i kall mot bidrag-person: ${e.message} CallId: ${CorrelationId.fetchCorrelationIdForThread()}.\n$e")
ident
}
}
Expand Down

0 comments on commit 5c2e69e

Please sign in to comment.