From e035b5ab80713105f9e687d3927c23f951c69c5e Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 19 Dec 2024 02:51:05 +0100 Subject: [PATCH] Quote channel in crash report --- .../implementation/logging/crashcategory/InfoCrashCategory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/crashcategory/InfoCrashCategory.kt b/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/crashcategory/InfoCrashCategory.kt index d654ce38a..156f5303b 100644 --- a/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/crashcategory/InfoCrashCategory.kt +++ b/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/crashcategory/InfoCrashCategory.kt @@ -67,7 +67,7 @@ class InfoCrashCategory private constructor() : CrashCategory { Pair("Method", call.origin.methodName), Pair("Line", call.origin.lineNumber), )), - Pair("Channel", call.channel), + Pair("Channel", "'${call.channel}'"), Pair("Fatal", if (fatal) "yes" else "no"), Pair("Message", call.message), Pair("Stacktrace", if (throwable == null) "Not available." else StackTraceUtils.stacktraceRecursive(throwable)),