Not log warnings when the RPC was cancelled.
RELNOTES: none
TESTED=remote worker
@@ -179,7 +179,9 @@ final class ByteStreamServer extends ByteStreamImplBase {
@Override
public void onError(Throwable t) {
+ if (io.grpc.Status.fromThrowable(t).getCode() != io.grpc.Status.Code.CANCELLED) {
logger.log(WARNING, "Write request failed remotely.", t);
+ }
closed = true;
try {
temp.delete();
