Skip to content

Commit

Permalink
🔊 Logger når varsler deaktiveres
Browse files Browse the repository at this point in the history
Nødvendig for å feilsøke, eksempelvis hvorfor en sak mangler varsel om
tilbakedatering.
  • Loading branch information
havstein committed Nov 13, 2024
1 parent f301d69 commit e53a109
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ internal class Generasjon private constructor(

internal fun deaktiverVarsel(varselkode: String) {
val funnetVarsel = varsler.finnEksisterendeVarsel(varselkode) ?: return
sikkerlogg.info("Deaktiverer varsel: {}", funnetVarsel)
funnetVarsel.deaktiver()
}

Expand Down

0 comments on commit e53a109

Please sign in to comment.