mirror of https://github.com/grpc/grpc-java.git
Update binderDied() error description to spell out the possibilities for those unfamiliar with Android internals. (#11628)
Callers are frequently confused by this message and waste time looking for problems in the client when the root cause is simply a server crash. See b/371447460 for more context.
This commit is contained in:
parent
b65cbf5081
commit
46c1b387fa
|
|
@ -299,7 +299,7 @@ public abstract class BinderTransport
|
|||
|
||||
@Override
|
||||
public synchronized void binderDied() {
|
||||
shutdownInternal(Status.UNAVAILABLE.withDescription("binderDied"), true);
|
||||
shutdownInternal(Status.UNAVAILABLE.withDescription("Peer process crashed, exited or was killed (binderDied)"), true);
|
||||
}
|
||||
|
||||
@GuardedBy("this")
|
||||
|
|
|
|||
Loading…
Reference in New Issue