aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-05 21:30:28 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-05 21:30:28 +0100
commitad3d0a899793f22e717a97f5c9b10cb63f702d2d (patch)
treecba2416651432b294dc3c2e132df70997a5b8069
parent4c8aef9841ac52c5cb0421fe01ce0b84cb0009c3 (diff)
improve logging
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c1
-rw-r--r--src/lib/exchange_api_management_get_keys.c1
-rw-r--r--src/util/crypto_helper_denom.c3
3 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index b048f1d32..cad1c7c23 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -2412,7 +2412,6 @@ TEH_keys_management_get_handler (const struct TEH_RequestHandler *rh,
ksh = get_key_state (true);
if (NULL == ksh)
{
- GNUNET_break (0);
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_EXCHANGE_GENERIC_KEYS_MISSING,
diff --git a/src/lib/exchange_api_management_get_keys.c b/src/lib/exchange_api_management_get_keys.c
index 050dae952..925ca804d 100644
--- a/src/lib/exchange_api_management_get_keys.c
+++ b/src/lib/exchange_api_management_get_keys.c
@@ -298,7 +298,6 @@ handle_get_keys_finished (void *cls,
break;
default:
/* unexpected response code */
- GNUNET_break_op (0);
hr.ec = TALER_JSON_get_error_code (json);
hr.hint = TALER_JSON_get_error_hint (json);
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index 266534ba9..ce5cff673 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -234,6 +234,9 @@ TALER_CRYPTO_helper_denom_connect (
if (GNUNET_OK !=
GNUNET_DISK_directory_create_for_file (template))
{
+ GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
+ "mkdir",
+ template);
GNUNET_free (dh);
GNUNET_free (template);
return NULL;