mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: log failed app syncs
This commit is contained in:
@@ -445,6 +445,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
|||||||
fetchBlocklist()
|
fetchBlocklist()
|
||||||
fetchPrivacySettings()
|
fetchPrivacySettings()
|
||||||
resyncAppState([ 'critical_block', 'critical_unblock_low' ])
|
resyncAppState([ 'critical_block', 'critical_unblock_low' ])
|
||||||
|
.catch(err => logger.info({ trace: err.stack }, 'failed to sync app state'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user