Quote channel in crash report
Some checks failed
PRs & Pushes / build (push) Failing after 2m12s
PRs & Pushes / test (push) Failing after 2m10s
PRs & Pushes / build-apidoc (push) Has been cancelled

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("Method", call.origin.methodName),
Pair("Line", call.origin.lineNumber), Pair("Line", call.origin.lineNumber),
)), )),
Pair("Channel", call.channel), Pair("Channel", "'${call.channel}'"),
Pair("Fatal", if (fatal) "yes" else "no"), Pair("Fatal", if (fatal) "yes" else "no"),
Pair("Message", call.message), Pair("Message", call.message),
Pair("Stacktrace", if (throwable == null) "Not available." else StackTraceUtils.stacktraceRecursive(throwable)), Pair("Stacktrace", if (throwable == null) "Not available." else StackTraceUtils.stacktraceRecursive(throwable)),