diff --git a/base/src/main/kotlin/de/staropensource/engine/base/logging/CrashHandler.kt b/base/src/main/kotlin/de/staropensource/engine/base/logging/CrashHandler.kt index 7add02f..fe8f506 100644 --- a/base/src/main/kotlin/de/staropensource/engine/base/logging/CrashHandler.kt +++ b/base/src/main/kotlin/de/staropensource/engine/base/logging/CrashHandler.kt @@ -53,7 +53,8 @@ class CrashHandler private constructor() { var formatFinalized: String? = null val channelconf: ChannelSettings? = EngineConfiguration.logChannelSettings[call.channel] - Engine.state = Engine.State.CRASHED + if (fatal) + Engine.state = Engine.State.CRASHED if (ChannelSettings.getSetting(channelconf, "permitFormatting") as Boolean) format.append("")