Skip to content

Commit fa6aaa4

Browse files
committed
Fix: display webchannel error message
1 parent 66a09f2 commit fa6aaa4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/firestore/src/platform/browser/webchannel_connection.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,10 @@ export class WebChannelConnection extends RestConnection {
326326
closed = true;
327327
logWarn(
328328
LOG_TAG,
329-
`RPC '${rpcName}' stream ${streamId} transport errored:`,
330-
err
329+
`RPC '${rpcName}' stream ${streamId} transport errored. Name:`,
330+
err.name,
331+
'Message:',
332+
err.message
331333
);
332334
streamBridge.callOnClose(
333335
new FirestoreError(

0 commit comments

Comments
 (0)