Merge "Print exception via Slog, not .printStackTrace()." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8319d59769
@@ -525,8 +525,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user