diff options
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/exchanges.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 9 |
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index b55231b79..7ff369a5e 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -1412,7 +1412,7 @@ testCli } else if (args.cryptoworker.impl === "none") { cryptoApi = nativeCrypto; } else { - throw Error("invalid impl"); + throw Error(`invalid crypto worker type ${args.cryptoworker.impl}`); } const input = "foo"; diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 60a4e91dd..1dd8660b5 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -505,7 +505,6 @@ export async function updateExchangeFromUrlHandler( > { const forceNow = options.forceNow ?? false; logger.info(`updating exchange info for ${baseUrl}, forced: ${forceNow}`); - console.trace("here"); const now = AbsoluteTime.now(); baseUrl = canonicalizeBaseUrl(baseUrl); diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 61525e476..484507d6b 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -589,9 +589,10 @@ async function fillDefaults(ws: InternalWalletState): Promise<void> { const appliedRec = await tx.config.get("currencyDefaultsApplied"); let alreadyApplied = appliedRec ? !!appliedRec.value : false; if (alreadyApplied) { - logger.info("defaults already applied"); + logger.trace("defaults already applied"); return; } + logger.info("importing default exchanges and auditors"); for (const c of builtinAuditors) { await tx.auditorTrust.put(c); } @@ -1120,12 +1121,12 @@ async function dispatchRequestInternal( // definitions we already have? switch (operation) { case "initWallet": { - logger.info("initializing wallet"); + logger.trace("initializing wallet"); ws.initCalled = true; if (typeof payload === "object" && (payload as any).skipDefaults) { - logger.info("skipping defaults"); + logger.trace("skipping defaults"); } else { - logger.info("filling defaults"); + logger.trace("filling defaults"); await fillDefaults(ws); } return {}; |