Fx issues where crash throwable message wasn't been added to crash log

This commit is contained in:
agnostic-apollo
2021-07-01 04:21:36 +05:00
parent 23a900c433
commit 2034121798

View File

@@ -57,7 +57,7 @@ public class CrashHandler implements Thread.UncaughtExceptionHandler {
reportString.append("## Crash Details\n");
reportString.append("\n").append(MarkdownUtils.getSingleLineMarkdownStringEntry("Crash Thread", thread.toString(), "-"));
reportString.append("\n").append(MarkdownUtils.getSingleLineMarkdownStringEntry("Crash Timestamp", AndroidUtils.getCurrentTimeStamp(), "-"));
reportString.append("\n\n").append(MarkdownUtils.getMultiLineMarkdownStringEntry("Crash Message", throwable.getMessage(), "-"));
reportString.append("\n\n").append(Logger.getStackTracesMarkdownString("Stacktrace", Logger.getStackTracesStringArray(throwable)));
String appInfoMarkdownString = crashHandlerClient.getAppInfoMarkdownString(context);