From aaae8065059185a5956801e09c69c21826c599c0 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 29 Aug 2025 09:34:41 -0400 Subject: [PATCH] Makes the exception name the first line in the report --- .../amethyst/service/crashreports/ReportAssembler.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/crashreports/ReportAssembler.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/crashreports/ReportAssembler.kt index 2831ca9e7..9a171773a 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/crashreports/ReportAssembler.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/crashreports/ReportAssembler.kt @@ -26,6 +26,9 @@ import com.vitorpamplona.amethyst.BuildConfig class ReportAssembler { fun buildReport(e: Throwable): String = buildString { + append(e.javaClass.simpleName) + appendLine() + // Device and Product Information append("Amethyst Version: ") appendLine(BuildConfig.VERSION_NAME + "-" + BuildConfig.FLAVOR.uppercase())