taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit e5947e117c0f7a0e18118fa1f01e24c8f750990c
parent b7f3786d67549660a1ed2cc033e740ad7e7bc9f0
Author: Florian Dold <florian@dold.me>
Date:   Wed,  8 Oct 2025 18:26:29 +0200

util: add logging around native networking cancellation

Diffstat:
Mpackages/taler-util/src/http-impl.qtart.ts | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/taler-util/src/http-impl.qtart.ts b/packages/taler-util/src/http-impl.qtart.ts @@ -137,8 +137,11 @@ export class HttpLibImpl implements HttpRequestLibrary { if (opt?.cancellationToken) { cancelCancelledHandler = opt.cancellationToken.onCancelled(() => { - logger.trace(`cancelling quickjs request`); - cancelFn(); + logger.info(`cancelling native networking request`); + const cancelRes = cancelFn(); + logger.info( + `cancelled native networking request (result ${cancelRes})`, + ); cancelPromCap.reject(new RequestCancelledError()); }); }