gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: log which subquery failed


From: gnunet
Subject: [taler-exchange] branch master updated: log which subquery failed
Date: Mon, 16 Jan 2023 16:47:20 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 8563dcc8 log which subquery failed
8563dcc8 is described below

commit 8563dcc8452d243ec63f98f0b63b48aa82c050a3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 16 16:47:15 2023 +0100

    log which subquery failed
---
 src/exchangedb/pg_get_reserve_history.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/exchangedb/pg_get_reserve_history.c 
b/src/exchangedb/pg_get_reserve_history.c
index 6042a620..89701ae7 100644
--- a/src/exchangedb/pg_get_reserve_history.c
+++ b/src/exchangedb/pg_get_reserve_history.c
@@ -1157,7 +1157,12 @@ TEH_PG_get_reserve_status (void *cls,
                                                &rhc);
     if ( (0 > qs) ||
          (GNUNET_OK != rhc.status) )
+    {
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                  "Query %s failed\n",
+                  work[i].statement);
       break;
+    }
   }
   if ( (qs < 0) ||
        (rhc.status != GNUNET_OK) )

-- 
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]