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 {
|
||||
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())
|
||||
|
||||
Reference in New Issue
Block a user