mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +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:
@@ -291,8 +291,7 @@ export class Main {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
(e: any) => {
|
(e: any) => {
|
||||||
// eslint-disable-next-line
|
this.logService.error("Error while running migrations:", e);
|
||||||
console.error(e);
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user