fix: log failed app syncs

This commit is contained in:
Adhiraj Singh
2021-11-08 21:47:49 +05:30
parent ba453a588b
commit 070722fcac

View File

@@ -445,6 +445,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
fetchBlocklist()
fetchPrivacySettings()
resyncAppState([ 'critical_block', 'critical_unblock_low' ])
.catch(err => logger.info({ trace: err.stack }, 'failed to sync app state'))
}
})