aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/backup/index.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-17 15:58:20 -0300
committerSebastian <sebasjm@gmail.com>2023-01-17 16:01:26 -0300
commiteeea3e62a01638b37c8bb8d6f8fdeac129a4afae (patch)
treefd1e97f0c3dda5b4077e7e0b53d8c844a8fc9aa4 /packages/taler-wallet-core/src/operations/backup/index.ts
parent5be2d128ed088a77d6448ac1ebf25aba3716bd81 (diff)
downloadwallet-core-eeea3e62a01638b37c8bb8d6f8fdeac129a4afae.tar.xz
stronger type check to be sure that ErrorDetails is consistent
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup/index.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/backup/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/index.ts b/packages/taler-wallet-core/src/operations/backup/index.ts
index 27d27da0d..7d3953ebb 100644
--- a/packages/taler-wallet-core/src/operations/backup/index.ts
+++ b/packages/taler-wallet-core/src/operations/backup/index.ts
@@ -734,7 +734,7 @@ async function runFirstBackupCycleForProvider(
case OperationAttemptResultType.Error:
throw TalerError.fromDetail(
TalerErrorCode.WALLET_UNEXPECTED_EXCEPTION,
- resp.errorDetail,
+ resp.errorDetail as any, //FIXME create an error for backup problems
);
case OperationAttemptResultType.Finished:
return {