Skip to content

Commit f15f672

Browse files
author
Xudong Ma
committed
Correct the order of arguments.
1 parent d7cdcc6 commit f15f672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netty/src/main/java/io/grpc/netty/NettyServerHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ private NettyServerStream serverStream(Http2Stream stream) {
367367

368368
private Http2Exception newStreamException(int streamId, Throwable cause) {
369369
return Http2Exception.streamError(
370-
streamId, Http2Error.INTERNAL_ERROR, cause.getMessage(), cause);
370+
streamId, Http2Error.INTERNAL_ERROR, cause, cause.getMessage());
371371
}
372372

373373
/**

0 commit comments

Comments
 (0)