1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Log actual import error (#17327)

This commit is contained in:
Oscar Hinton
2025-11-11 16:56:59 +01:00
committed by GitHub
parent a017e27890
commit 84340cba5c

View File

@@ -142,6 +142,8 @@ export class ImportChromeComponent implements OnInit, OnDestroy {
// If any of the login items has a failure return a generic error message
// Introduced because we ran into a new type of V3 encryption added on Chrome that we don't yet support
if (logins.some((l) => l.failure != null)) {
const error = logins.find((l) => l.failure != null);
this.logService.error("Chromium importer failure:", error.failure.error);
return {
errors: {
message: this.i18nService.t("errorOccurred"),