log which subquery failed

This commit is contained in:
Christian Grothoff 2023-01-16 16:47:15 +01:00
parent ce50b33fba
commit 8563dcc845
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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) )