gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: -logging


From: gnunet
Subject: [taler-wallet-core] branch master updated: -logging
Date: Wed, 30 Aug 2023 18:39:16 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 789572830 -logging
789572830 is described below

commit 7895728308b9669d7987c8f4833f9b1b77e99d5a
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Aug 30 18:39:14 2023 +0200

    -logging
---
 packages/taler-wallet-core/src/util/query.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/util/query.ts 
b/packages/taler-wallet-core/src/util/query.ts
index 7697ed3db..1c3ff6a2a 100644
--- a/packages/taler-wallet-core/src/util/query.ts
+++ b/packages/taler-wallet-core/src/util/query.ts
@@ -257,7 +257,7 @@ export function openDatabase(
     req.onsuccess = (e) => {
       req.result.onversionchange = (evt: IDBVersionChangeEvent) => {
         logger.info(
-          `handling live db version change from ${evt.oldVersion} to 
${evt.newVersion}`,
+          `handling versionchange on ${databaseName} from ${evt.oldVersion} to 
${evt.newVersion}`,
         );
         req.result.close();
         onVersionChange();
@@ -274,6 +274,9 @@ export function openDatabase(
       if (!transaction) {
         throw Error("no transaction handle available in upgrade handler");
       }
+      logger.info(
+        `handling upgradeneeded event on ${databaseName} from ${e.oldVersion} 
to ${e.newVersion}`,
+      );
       onUpgradeNeeded(db, e.oldVersion, newVersion, transaction);
     };
   });

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]