-oops, obvious missing return

This commit is contained in:
Florian Dold 2023-06-29 12:13:52 +02:00
parent 585fe6b996
commit 424e39edda
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 1 deletions

View File

@ -438,6 +438,7 @@ export function applyLegacyTypeAnnotations(val: any): any {
export function internalStructuredRevive(val: any): any { export function internalStructuredRevive(val: any): any {
// FIXME: Do the newly specified, compositional encoding here. // FIXME: Do the newly specified, compositional encoding here.
val = JSON.parse(JSON.stringify(val)); val = JSON.parse(JSON.stringify(val));
return val;
} }
export function structuredRevive(val: any): any { export function structuredRevive(val: any): any {

View File

@ -1575,7 +1575,7 @@ export async function handleCoreApiRequest(
}; };
} catch (e: any) { } catch (e: any) {
const err = getErrorDetailFromException(e); 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 { return {
type: "error", type: "error",
operation, operation,