aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-09 16:18:06 +0200
committerFlorian Dold <florian@dold.me>2024-04-09 16:18:06 +0200
commitc19d875861356e206cf44cc64cd29fdbdc6ffb32 (patch)
tree2af3f2a5b04d3bc7d49deff515adb037c1775d84 /packages/taler-wallet-core
parentc38514b679d569ca4b0c092026f2a825cac560ed (diff)
downloadwallet-core-c19d875861356e206cf44cc64cd29fdbdc6ffb32.tar.xz
wallet-core: extra observability event
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/withdraw.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts
index 7ec62a46b..a16a03054 100644
--- a/packages/taler-wallet-core/src/withdraw.ts
+++ b/packages/taler-wallet-core/src/withdraw.ts
@@ -3188,6 +3188,10 @@ export async function getWithdrawalDetailsForAmount(
try {
return await internalGetWithdrawalDetailsForAmount(wex, req);
} finally {
+ wex.oc.observe({
+ type: ObservabilityEventType.Message,
+ contents: `Deleting clientCancelKey ${clientCancelKey} to ${cts}`,
+ });
if (clientCancelKey && !cts.token.isCancelled) {
wex.ws.clientCancellationMap.delete(clientCancelKey);
}