mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Logging the stack trace for system anomaly messages
With these system anomalies, you are never sure that the system/tests will be able to normally bubble up the error. Bug: 203416429 Test: presubmit Change-Id: Ie1d3d183cf6e56778d5c052ef7b8e0541bbc6255
This commit is contained in:
@@ -544,11 +544,11 @@ public final class LauncherInstrumentation {
|
||||
: TestHelpers.getSystemHealthMessage(getContext(), mTestStartTime);
|
||||
|
||||
if (systemHealth != null) {
|
||||
return message
|
||||
+ ";\nPerhaps linked to system health problems:\n<<<<<<<<<<<<<<<<<<\n"
|
||||
message += ";\nPerhaps linked to system health problems:\n<<<<<<<<<<<<<<<<<<\n"
|
||||
+ systemHealth + "\n>>>>>>>>>>>>>>>>>>";
|
||||
}
|
||||
}
|
||||
Log.d(TAG, "About to throw the error: " + message, new Exception());
|
||||
return message;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user