We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82b1a3 commit f009cd7Copy full SHA for f009cd7
packages/grpc-js/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@grpc/grpc-js",
3
- "version": "1.3.0",
+ "version": "1.3.1",
4
"description": "gRPC Library for Node - pure JS implementation",
5
"homepage": "https://grpc.io/",
6
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
packages/grpc-js/src/call-stream.ts
@@ -589,7 +589,7 @@ export class Http2CallStream implements Call {
589
* "Internal server error" message. */
590
details = `Received RST_STREAM with code ${stream.rstCode} (Internal server error)`;
591
} else {
592
- if (this.internalError.errno === os.constants.errno.ECONNRESET) {
+ if (this.internalError.code === 'ECONNRESET') {
593
code = Status.UNAVAILABLE;
594
details = this.internalError.message;
595
0 commit comments