chore(log): trace-level compose draft IPC logging
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1211,6 +1211,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
return true
|
||||
}
|
||||
if (t === 'set-compose-draft') {
|
||||
flowLog.trace('compose draft ipc', {
|
||||
channelId: msg.channelId,
|
||||
len: String(msg.text ?? '').length
|
||||
})
|
||||
await platform.setComposeDraft(msg.channelId, msg.text ?? '')
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user