diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index a6309e0..f27f450 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -412,6 +412,7 @@ export const makeChatsSocket = (config: SocketConfig) => { const update = getBinaryNodeChild(node, 'collection') if(update) { resyncState(update.attrs.name as WAPatchName, false) + .catch(err => logger.error({ trace: err.stack, node }, `failed to sync state`)) } })