taler-typescript-core

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

commit 7f1f2cf603b4fa0a5a7d878272dae94c9e617167
parent 664b0f9b7083200f1781c5ddce148894835dedd1
Author: Florian Dold <florian@dold.me>
Date:   Tue,  5 Nov 2024 12:26:40 +0100

-logging

Diffstat:
Mpackages/taler-wallet-embedded/src/wallet-qjs.ts | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts @@ -37,6 +37,7 @@ import { WalletNotification, enableNativeLogging, getErrorDetailFromException, + j2s, openPromise, performanceNow, setGlobalLogLevelFromString, @@ -104,8 +105,12 @@ class NativeWalletMessageHandler { throw Error("persistentStoragePath must be a string"); } if (p.endsWith("/")) { + logger.info( + `Specified directory ${j2s(p)} as persistentStoragePath`, + ); persistentStoragePath = `${p}talerwalletdb-v30.sqlite3`; } else { + logger.info(`Specified file ${j2s(p)} as as persistentStoragePath`); persistentStoragePath = p; } }