Skip to content

Commit

Permalink
Skal logge meldinger i prod en liten periode for å se hvordan de ser ut
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemidtlyng committed Feb 29, 2024
1 parent 2f00f91 commit d6a9d85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class OppdragMottaker(
fun mottaKvitteringFraOppdrag(melding: TextMessage) {
try {
behandleMelding(melding)
secureLogger.info(melding.text)
} catch (e: Exception) {
secureLogger.warn("Feilet lesing av melding=${melding.jmsMessageID} meldingInnhold=${melding}", e)
secureLogger.info(melding.text)
throw e
}
}
Expand Down

0 comments on commit d6a9d85

Please sign in to comment.