aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-07-01 15:44:32 +0200
committerFlorian Dold <florian@dold.me>2024-07-01 15:44:32 +0200
commit231e264e94aa559c8922a14cc1d5392c7a165ed0 (patch)
tree6f53d99c05e78af34a7699c106165dd255ee2ed3 /packages/taler-wallet-core
parent007c75084c3f26aa0d6e3c438b541ea0dd3ba598 (diff)
downloadwallet-core-231e264e94aa559c8922a14cc1d5392c7a165ed0.tar.xz
wallet-core: logging
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/withdraw.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts
index 229727a54..93e4784ee 100644
--- a/packages/taler-wallet-core/src/withdraw.ts
+++ b/packages/taler-wallet-core/src/withdraw.ts
@@ -3162,7 +3162,6 @@ export async function confirmWithdrawal(
requireExchangeTosAcceptedOrThrow(exchange);
const talerWithdrawUri = withdrawalGroup.wgInfo.bankInfo.talerWithdrawUri;
- const confirmUrl = withdrawalGroup.wgInfo.bankInfo.confirmUrl;
/**
* The only reason this could be undefined is because it is an old wallet
@@ -3278,7 +3277,16 @@ export async function confirmWithdrawal(
}
if (pending) {
+ wex.oc.observe({
+ type: ObservabilityEventType.Message,
+ contents: "waiting for withdrawal operation to be registered with bank",
+ });
await waitWithdrawalRegistered(wex, ctx);
+ wex.oc.observe({
+ type: ObservabilityEventType.Message,
+ contents:
+ "done waiting for withdrawal operation to be registered with bank",
+ });
}
}
@@ -3302,7 +3310,6 @@ export async function acceptBankIntegratedWithdrawal(
amount?: AmountLike;
},
): Promise<AcceptWithdrawalResponse> {
-
wex.oc.observe({
type: ObservabilityEventType.Message,
contents: "at start of acceptBankIntegratedWithdrawal",