chore(audio): include session flow counters in teardown

This commit is contained in:
illusia committed 2026-09-03 00:01:50 +08:00
1 parent d9904fa154
commit 30c0d09a33
1 file changed
+1 -1
+1 -1
View File
@@ -600,7 +600,7 @@ export class VoiceBridge {
if (reason === "heartbeat-timeout" || reason === "gateway-shutdown") entry.ws.terminate();
else entry.ws.close(reason === "protocol-error" ? 1008 : 1000, reason);
}
this.logger.info({ entryId: entry.id, reason }, "Client session torn down");
this.logger.info({ entryId: entry.id, reason, audio: { ...entry.audio } }, "Client session torn down");
}
private startHeartbeat(): void {