-more logging

This commit is contained in:
Christian Grothoff 2022-11-02 14:31:49 +01:00
parent 9169f4447e
commit ad3fff5155
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -921,6 +921,7 @@ check_for_required_transfers (void)
&next_timestamp); &next_timestamp);
if (0 > qs) if (0 > qs)
{ {
GNUNET_break (0);
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
global_ret = EXIT_FAILURE; global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown (); GNUNET_SCHEDULER_shutdown ();
@ -1285,6 +1286,7 @@ complain_out_not_found (void *cls,
switch (qs) switch (qs)
{ {
case GNUNET_DB_STATUS_HARD_ERROR: case GNUNET_DB_STATUS_HARD_ERROR:
GNUNET_break (0);
global_ret = EXIT_FAILURE; global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown (); GNUNET_SCHEDULER_shutdown ();
return GNUNET_SYSERR; return GNUNET_SYSERR;