File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @grpc/grpc-js" ,
3- "version" : " 1.3.0 " ,
3+ "version" : " 1.3.1 " ,
44 "description" : " gRPC Library for Node - pure JS implementation" ,
55 "homepage" : " https://grpc.io/" ,
66 "repository" : " https://github.com/grpc/grpc-node/tree/master/packages/grpc-js" ,
Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ export class Http2CallStream implements Call {
589589 * "Internal server error" message. */
590590 details = `Received RST_STREAM with code ${ stream . rstCode } (Internal server error)` ;
591591 } else {
592- if ( this . internalError . errno === os . constants . errno . ECONNRESET ) {
592+ if ( this . internalError . code === ' ECONNRESET' ) {
593593 code = Status . UNAVAILABLE ;
594594 details = this . internalError . message ;
595595 } else {
You can’t perform that action at this time.
0 commit comments