提交 af17c046 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add more logs (#1385)

上级 65863d5f
......@@ -163,6 +163,8 @@ export class PadchatManager extends PadchatRpc {
&& this.cacheRoomMemberRawPayload
&& this.cacheRoomRawPayload
) {
log.silly('PuppetPadchatManager', 'releaseCache() closing caches ...')
await this.cacheContactRawPayload.close(),
await this.cacheRoomMemberRawPayload.close(),
await this.cacheRoomRawPayload.close(),
......@@ -325,6 +327,8 @@ export class PadchatManager extends PadchatRpc {
}
const checkScanInternalLoop = async () => {
log.silly('PuppetPadchatManager', `startCheckScan() checkScanInternalLoop()`)
/**
* While we want to Wait user response
*/
......@@ -421,7 +425,10 @@ export class PadchatManager extends PadchatRpc {
.catch(e => {
log.warn('PuppetPadchatManager', 'startCheckScan() checkScanLoop() exception: %s', e)
this.emit('reset', 'startCheckScan() checkScanLoop() exception')
}).then(() => {
log.silly('PuppetPadchatManager', `startCheckScan() checkScanInternalLoop() resolved`)
})
log.silly('PuppetPadchatManager', `startCheckScan() checkScanInternalLoop() set`)
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册