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

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