Quote channel in crash report

This commit is contained in:
JeremyStar™ 2024-12-19 02:51:05 +01:00
parent 47bb0f6cab
commit e035b5ab80
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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)),