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

Commit c4208aae authored by Josh Gao's avatar Josh Gao
Browse files

Print exception via Slog, not .printStackTrace().

Bug: http://b/176389805
Test: treehugger
Change-Id: I649b6f06d5fa1222452c49efde76e393750f670f
parent ea025557
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -523,8 +523,7 @@ public final class SystemServer implements Dumpable {
            String filename = "/data/system/heapdump/fdtrack-" + date + ".hprof";
            Debug.dumpHprofData(filename);
        } catch (IOException ex) {
            Slog.e("System", "Failed to dump fdtrack hprof");
            ex.printStackTrace();
            Slog.e("System", "Failed to dump fdtrack hprof", ex);
        }
    }