File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @grpc/grpc-js" ,
3
- "version" : " 1.5.8 " ,
3
+ "version" : " 1.5.9 " ,
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 @@ -312,6 +312,13 @@ export class Http2CallStream implements Call {
312
312
const filteredStatus = this . filterStack . receiveTrailers (
313
313
this . finalStatus !
314
314
) ;
315
+ this . trace (
316
+ 'ended with status: code=' +
317
+ filteredStatus . code +
318
+ ' details="' +
319
+ filteredStatus . details +
320
+ '"'
321
+ ) ;
315
322
this . statusWatchers . forEach ( watcher => watcher ( filteredStatus ) ) ;
316
323
/* We delay the actual action of bubbling up the status to insulate the
317
324
* cleanup code in this class from any errors that may be thrown in the
@@ -346,13 +353,6 @@ export class Http2CallStream implements Call {
346
353
/* If the status is OK and a new status comes in (e.g. from a
347
354
* deserialization failure), that new status takes priority */
348
355
if ( this . finalStatus === null || this . finalStatus . code === Status . OK ) {
349
- this . trace (
350
- 'ended with status: code=' +
351
- status . code +
352
- ' details="' +
353
- status . details +
354
- '"'
355
- ) ;
356
356
this . finalStatus = status ;
357
357
this . maybeOutputStatus ( ) ;
358
358
}
You can’t perform that action at this time.
0 commit comments