grpc-js: Add more details to 'Failed to start HTTP/2 stream' error

This commit is contained in:
Michael Lumish 2021-02-12 11:03:00 -08:00
parent b5a8ea10f8
commit 097d63b14b
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ export class ChannelImplementation implements Channel {
);
callStream.cancelWithStatus(
Status.INTERNAL,
'Failed to start HTTP/2 stream'
`Failed to start HTTP/2 stream with error: ${(error as Error).message}`
);
}
}