mirror of
https://github.com/playmusicexporter/playmusicexporter
synced 2024-06-10 09:00:02 +00:00
Added exception type to the crash log, which was previously unavailable.
The log in the crash handler now contains what kind of exception is being handled by the handler.
This commit is contained in:
parent
51d0ed4c7e
commit
87a80b4dd7
|
@ -77,6 +77,7 @@ public class CrashHandler implements Thread.UncaughtExceptionHandler {
|
|||
|
||||
logBuilder.append("----------- Exception ------------\n");
|
||||
logBuilder.append(ex.getMessage()).append("\n");
|
||||
logBuilder.append(ex.getClass().getCanonicalName()).append(" at \n");
|
||||
|
||||
// Log stack trace
|
||||
for (StackTraceElement stackTraceElement : ex.getStackTrace())
|
||||
|
|
Loading…
Reference in a new issue