Skip to content

Commit d0fe1e4

Browse files
committed
update message
1 parent 9749042 commit d0fe1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/src/main/java/io/grpc/servlet/ServletServerStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public void cancel(Status status) {
297297
}
298298
transportState.runOnTransportThread(() -> transportState.transportReportStatus(status));
299299
// There is no way to RST_STREAM with CANCEL code, so write trailers instead
300-
close(Status.CANCELLED.withDescription("servlet io exception")
300+
close(Status.CANCELLED.withDescription("Servlet stream cancelled")
301301
.withCause(status.asRuntimeException()),
302302
new Metadata());
303303
CountDownLatch countDownLatch = new CountDownLatch(1);

0 commit comments

Comments
 (0)