From b6735790a5217c41f591c9d69a633d6ce6462321 Mon Sep 17 00:00:00 2001 From: Erik Maximilian Forsman Date: Wed, 7 Feb 2024 09:27:39 +0100 Subject: [PATCH] =?UTF-8?q?Frem=20til=20vi=20ikke=20lagrer=20noe=20kan=20v?= =?UTF-8?q?i=20logge=20alt=20=F0=9F=AA=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../helse/spre/styringsinfo/teamsak/hendelse/HendelseRiver.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/styringsinfo/src/main/kotlin/no/nav/helse/spre/styringsinfo/teamsak/hendelse/HendelseRiver.kt b/styringsinfo/src/main/kotlin/no/nav/helse/spre/styringsinfo/teamsak/hendelse/HendelseRiver.kt index f2b0da3f..7cae6948 100644 --- a/styringsinfo/src/main/kotlin/no/nav/helse/spre/styringsinfo/teamsak/hendelse/HendelseRiver.kt +++ b/styringsinfo/src/main/kotlin/no/nav/helse/spre/styringsinfo/teamsak/hendelse/HendelseRiver.kt @@ -29,7 +29,8 @@ internal class HendelseRiver( } override fun onPacket(packet: JsonMessage, context: MessageContext) { - if (!opprett(packet).håndter(behandlingDao)) return + //if (!opprett(packet).håndter(behandlingDao)) return + opprett(packet).håndter(behandlingDao) packet.structuredArguments.let { sikkerLogg.info("Håndterte $eventName. ${it.joinToString { "{}" }}\n\t${packet.toJson()}", *it.toTypedArray()) }