Skip to content
Snippets Groups Projects
Commit aea8b250 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Improve "Lost network stack" error message

The "Lost network stack" message often gets reported as suspected
root cause of a crash, but it is actually just a side-effect of a crash
of the network_stack process, which often was just killed together with
the rest of the system.

Clarify the error message, so that it is clear that the root cause
should be visible earlier in logs.

Bug: 198681439
Change-Id: Ieb79ace34170f8bd9ea847175199590998278d57
Test: m
parent cbe9af5a
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,10 @@ public class ConnectivityModuleConnector {
// This code path is only run by the system server: only the system server binds
// to the NetworkStack as a service. Other processes get the NetworkStack from
// the ServiceManager.
maybeCrashWithTerribleFailure("Lost network stack", mPackageName);
maybeCrashWithTerribleFailure(
"Lost network stack. This is not the root cause of any issue, it is a side "
+ "effect of a crash that happened earlier. Earlier logs should point to the "
+ "actual issue.", mPackageName);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment