mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 17:53:41 +00:00
Added log on delete error.
This commit is contained in:
@@ -111,8 +111,9 @@ export class ElectronStorageService implements AbstractStorageService {
|
||||
// Attempt to remove the corrupted key
|
||||
try {
|
||||
this.store.delete(key);
|
||||
} catch {
|
||||
} catch (cleanupError) {
|
||||
// Ignore errors during cleanup
|
||||
this.logService.debug("Failed to clean up corrupted key", key, cleanupError);
|
||||
}
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user