diff options
author | Florian Dold <florian@dold.me> | 2023-06-29 12:13:52 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-29 12:13:52 +0200 |
commit | 424e39edda96886bfc40c7bb06c5572373c34c1d (patch) | |
tree | d35dcad76386f1ae950a71b5678274852a5064f9 /packages | |
parent | 585fe6b996678afab44cff9fbd9c12dda7cbb5e0 (diff) | |
download | wallet-core-424e39edda96886bfc40c7bb06c5572373c34c1d.tar.xz |
-oops, obvious missing return
Diffstat (limited to 'packages')
-rw-r--r-- | packages/idb-bridge/src/util/structuredClone.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/util/structuredClone.ts b/packages/idb-bridge/src/util/structuredClone.ts index a3842b8c4..2170118d5 100644 --- 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 index df4fd0d94..c72c7236f 100644 --- 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, |