From 11370185b6a98ac79c24cad87ccbee8a9b0fc683 Mon Sep 17 00:00:00 2001 From: Eryu Xia Date: Fri, 28 Jan 2022 23:35:44 -0800 Subject: [PATCH] Internal code sync (#1194) --- javascript/net/grpc/web/grpcwebclientreadablestream.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/net/grpc/web/grpcwebclientreadablestream.js b/javascript/net/grpc/web/grpcwebclientreadablestream.js index f8c6e6ff..d8c07965 100644 --- a/javascript/net/grpc/web/grpcwebclientreadablestream.js +++ b/javascript/net/grpc/web/grpcwebclientreadablestream.js @@ -175,7 +175,8 @@ class GrpcWebClientReadableStream { } catch (err) { self.handleError_(new RpcError( StatusCode.INTERNAL, - `Error when deserializing response data: ${response}`)); + `Error when deserializing response data; error: ${err}` + + `, response: ${response}`)); } if (response) { self.sendDataCallbacks_(response);