Skip to content

Commit

Permalink
🔊 Må faktisk logge teksten også
Browse files Browse the repository at this point in the history
  • Loading branch information
havstein committed Aug 22, 2024
1 parent e32dfe8 commit d69ff17
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ internal class Kommandofabrikk(

internal fun settEksisterendeContext(commandContext: CommandContext) {
if (this.commandContext != null) {
"""
logg.info(
"""
Å nei, commandContext HAR allerede en verdi! Det skyldes sannsynligvis at samme pod behandler to kall eller meldinger samtidig, eller at noe ikke har ryddet opp etter seg. Vi jobber forhåpentligvis med problemet.
Forrige commandContext: ${this.commandContext?.id()}, ny: ${commandContext.id()}
""".trimIndent()
Forrige commandContext: ${this.commandContext?.id()}, ny: ${commandContext.id()}
""".trimIndent(),
)
}
this.commandContext = commandContext
}
Expand Down

0 comments on commit d69ff17

Please sign in to comment.