1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00: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

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);
},
);
}