taler-typescript-core

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

commit 424e39edda96886bfc40c7bb06c5572373c34c1d
parent 585fe6b996678afab44cff9fbd9c12dda7cbb5e0
Author: Florian Dold <florian@dold.me>
Date:   Thu, 29 Jun 2023 12:13:52 +0200

-oops, obvious missing return

Diffstat:
Mpackages/idb-bridge/src/util/structuredClone.ts | 1+
Mpackages/taler-wallet-core/src/wallet.ts | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/idb-bridge/src/util/structuredClone.ts b/packages/idb-bridge/src/util/structuredClone.ts @@ -438,6 +438,7 @@ export function applyLegacyTypeAnnotations(val: any): any { export function internalStructuredRevive(val: any): any { // FIXME: Do the newly specified, compositional encoding here. val = JSON.parse(JSON.stringify(val)); + return val; } export function structuredRevive(val: any): any { diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -1575,7 +1575,7 @@ export async function handleCoreApiRequest( }; } catch (e: any) { const err = getErrorDetailFromException(e); - logger.info(`finished wallet core request with error: ${j2s(err)}`); + logger.info(`finished wallet core request ${operation} with error: ${j2s(err)}`); return { type: "error", operation,