1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

[PM-9441] Catch and log exceptions during migration (#9905)

* feat: catch and log exceptions during migration

* Revert "feat: catch and log exceptions during migration"

This reverts commit d68733b7e5.

* feat: use log service to log migration errors
This commit is contained in:
Andreas Coroiu 2024-07-04 09:02:18 +02:00 committed by GitHub
parent 3e7f8f5384
commit cc31d96378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,8 +291,7 @@ export class Main {
});
},
(e: any) => {
// eslint-disable-next-line
console.error(e);
this.logService.error("Error while running migrations:", e);
},
);
}