Skip to content

Commit 79b5e67

Browse files
committed
fix: add debug logg
Signed-off-by: Innei <i@innei.in>
1 parent c24bc06 commit 79b5e67

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/modules/mx-space/event-handler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ export const handleEvent =
165165
return walk(parent)
166166
})()
167167
if (parentIsWhispers) {
168+
logger.warn('[comment]: parent comment is whispers, ignore')
168169
return
169170
}
170171

@@ -188,6 +189,7 @@ export const handleEvent =
188189
}
189190

190191
if (!refModel) {
192+
logger.error(`[comment]: ref model not found, refId: ${refId}`)
191193
return
192194
}
193195
const isMaster = author === owner.name || author === owner.username

0 commit comments

Comments
 (0)