diff --git a/examples/web-chat/src/Message.ts b/examples/web-chat/src/Message.ts index ba225f7846..36407e4fda 100644 --- a/examples/web-chat/src/Message.ts +++ b/examples/web-chat/src/Message.ts @@ -19,11 +19,7 @@ export class Message { return new Message(chatMsg, wakuMsg.timestamp); } } catch (e) { - console.error( - "Failed to decode chat message", - wakuMsg.payloadAsUtf8, - e - ); + console.error("Failed to decode chat message", e); } } return;