Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7512263 authored by Parth Sane's avatar Parth Sane Committed by Gerrit Code Review
Browse files

Merge "Log crash info when reporting crash fails" into main

parents c168612c 9aef88db
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -174,7 +174,9 @@ public class RuntimeInit {
                    // System process is dead; ignore
                } else {
                    try {
                        Clog_e(TAG, "Error reporting crash", t2);
                        // Log original crash and then log the error reporting exception.
                        Clog_e(TAG, "Couldn't report crash. Here's the crash:", e);
                        Clog_e(TAG, "Error reporting crash. Here's the error:", t2);
                    } catch (Throwable t3) {
                        // Even Clog_e() fails!  Oh well.
                    }