aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-16 16:47:15 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-16 16:47:15 +0100
commit8563dcc8452d243ec63f98f0b63b48aa82c050a3 (patch)
treeee52471f60d592c45df1852594d386e5e95b2b46
parentce50b33fba44856f6f09873fb52dd947d6be4911 (diff)
log which subquery failed
-rw-r--r--src/exchangedb/pg_get_reserve_history.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchangedb/pg_get_reserve_history.c b/src/exchangedb/pg_get_reserve_history.c
index 6042a620e..89701ae71 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) )