1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Add pid to Bugsnag

This commit is contained in:
M66B 2021-04-25 16:27:28 +02:00
parent 8d0b2ba14c
commit b4ef6483d0

View file

@ -387,6 +387,7 @@ public class Log {
boolean should = shouldNotify(ex);
if (should) {
event.addMetadata("extra", "pid", Integer.toString(android.os.Process.myPid()));
event.addMetadata("extra", "thread", Thread.currentThread().getName() + ":" + Thread.currentThread().getId());
event.addMetadata("extra", "memory_free", getFreeMemMb());
event.addMetadata("extra", "memory_available", getAvailableMb());