chore(ringcentral): only log WebSocket notifications in verbose mode

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
John Lin 2026-01-28 10:15:24 +08:00
parent f71da54d8f
commit 857408d78d
No known key found for this signature in database

View File

@ -680,7 +680,7 @@ export async function startRingCentralMonitor(
// Handle notifications
subscription.on(subscription.events.notification, (event: unknown) => {
runtime.log?.(`[${account.accountId}] WebSocket notification received: ${JSON.stringify(event).slice(0, 500)}`);
logVerbose(core, runtime, `WebSocket notification received: ${JSON.stringify(event).slice(0, 500)}`);
const evt = event as RingCentralWebhookEvent;
processWebSocketEvent({
event: evt,