Commit f009cd7 1 parent d82b1a3 commit f009cd7 Copy full SHA for f009cd7
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @grpc/grpc-js" ,
3
- "version" : " 1.3.0 " ,
3
+ "version" : " 1.3.1 " ,
4
4
"description" : " gRPC Library for Node - pure JS implementation" ,
5
5
"homepage" : " https://grpc.io/" ,
6
6
"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 {
589
589
* "Internal server error" message. */
590
590
details = `Received RST_STREAM with code ${ stream . rstCode } (Internal server error)` ;
591
591
} else {
592
- if ( this . internalError . errno === os . constants . errno . ECONNRESET ) {
592
+ if ( this . internalError . code === ' ECONNRESET' ) {
593
593
code = Status . UNAVAILABLE ;
594
594
details = this . internalError . message ;
595
595
} else {
You can’t perform that action at this time.
0 commit comments