fix(voice): log local voice state hydration failures (#2386)

This commit is contained in:
Hampus
2026-09-02 17:33:32 +02:00
committed by GitHub
parent 8d34c6bcaa
commit 749d2091eb
@@ -128,7 +128,9 @@ class LocalVoiceState implements LocalVoiceConnectionState {
{autoBind: true},
);
this._disposers = [];
this.persistenceHydrationPromise = this.initPersistence();
this.persistenceHydrationPromise = this.initPersistence().catch((error) => {
logger.error('Failed to hydrate LocalVoiceState from persistence', error);
});
this.initializePersistedDefaultSync();
this.initializePermissionSync();
this.initializeDevicePermissionSync();