fix(migration): preserve credential errors and recover failure states

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-09-30 16:04:28 +08:00
1 parent 1b9f65f260
commit 961dce99e8
13 files changed
+204 -72

No files matched your search

@@ -29,6 +29,8 @@ const errorAdviceKey = computed(() => {
case "SECRET_KEY_MISMATCH":
case "KEY_FILE_UNAVAILABLE":
case "KEY_PROVIDER_UNAVAILABLE":
case "KEYRING_ACCESS_FAILED":
case "KEYRING_WRITE_FAILED":
return "migration.errors.keyProviderAdvice";
case "BACKUP_FAILED":
return "migration.errors.backupAdvice";