Makes the exception name the first line in the report
This commit is contained in:
+3
@@ -26,6 +26,9 @@ import com.vitorpamplona.amethyst.BuildConfig
|
|||||||
class ReportAssembler {
|
class ReportAssembler {
|
||||||
fun buildReport(e: Throwable): String =
|
fun buildReport(e: Throwable): String =
|
||||||
buildString {
|
buildString {
|
||||||
|
append(e.javaClass.simpleName)
|
||||||
|
appendLine()
|
||||||
|
|
||||||
// Device and Product Information
|
// Device and Product Information
|
||||||
append("Amethyst Version: ")
|
append("Amethyst Version: ")
|
||||||
appendLine(BuildConfig.VERSION_NAME + "-" + BuildConfig.FLAVOR.uppercase())
|
appendLine(BuildConfig.VERSION_NAME + "-" + BuildConfig.FLAVOR.uppercase())
|
||||||
|
|||||||
Reference in New Issue
Block a user