commit 657843bb1061c884f6324ab7e8a3215fbe97230e
parent 3f47f521fbed40bb2129a09c77319e04df731408
Author: Harsheet <hsohaney@mozilla.com>
Date: Wed, 29 Oct 2025 15:18:33 +0000
Bug 1995539 - Change backup error to a restore error when sampling archive. r=cdupuis
Differential Revision: https://phabricator.services.mozilla.com/D270225
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser/components/backup/BackupService.sys.mjs b/browser/components/backup/BackupService.sys.mjs
@@ -2446,7 +2446,7 @@ export class BackupService extends EventTarget {
if (!(e instanceof BackupError)) {
throw new BackupError(
"Failed to parse archive header",
- ERRORS.FILE_SYSTEM_ERROR
+ ERRORS.CORRUPTED_ARCHIVE
);
}
throw e;