You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with grpc-js pinned to 1.10.6 - which is admittedly not known to be supported (#555). the bug could be related to this.
trimmed example:
async *myRpc(
request: r.MyRequest,
context: CallContext,
): r.ServerStreamingMethodResult<r.MyResponse> {
console.error('okok');
throw new ServerError(Status.ALREADY_EXISTS, 'blahlbhahala');
// same bug if I yield* to something that throws
}
I've observed that the server does log the okok but silently does nothing on the throw. The client will async iterate on server responses, and if any are sent it will receive them up until the throw. Once a server throw occurs, it seems like the client neither gets a catch nor finally. Just hangs.
The text was updated successfully, but these errors were encountered:
Using nice-grpc and/or nice-grpc-web as both the client and server:
with grpc-js pinned to 1.10.6 - which is admittedly not known to be supported (#555). the bug could be related to this.
trimmed example:
I've observed that the server does log the
okok
but silently does nothing on the throw. The client will async iterate on server responses, and if any are sent it will receive them up until the throw. Once a server throw occurs, it seems like the client neither gets acatch
norfinally
. Just hangs.The text was updated successfully, but these errors were encountered: