improve logging
This commit is contained in:
parent
4c8aef9841
commit
ad3d0a8997
@ -2412,7 +2412,6 @@ TEH_keys_management_get_handler (const struct TEH_RequestHandler *rh,
|
|||||||
ksh = get_key_state (true);
|
ksh = get_key_state (true);
|
||||||
if (NULL == ksh)
|
if (NULL == ksh)
|
||||||
{
|
{
|
||||||
GNUNET_break (0);
|
|
||||||
return TALER_MHD_reply_with_error (connection,
|
return TALER_MHD_reply_with_error (connection,
|
||||||
MHD_HTTP_INTERNAL_SERVER_ERROR,
|
MHD_HTTP_INTERNAL_SERVER_ERROR,
|
||||||
TALER_EC_EXCHANGE_GENERIC_KEYS_MISSING,
|
TALER_EC_EXCHANGE_GENERIC_KEYS_MISSING,
|
||||||
|
@ -298,7 +298,6 @@ handle_get_keys_finished (void *cls,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_break_op (0);
|
|
||||||
hr.ec = TALER_JSON_get_error_code (json);
|
hr.ec = TALER_JSON_get_error_code (json);
|
||||||
hr.hint = TALER_JSON_get_error_hint (json);
|
hr.hint = TALER_JSON_get_error_hint (json);
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
@ -234,6 +234,9 @@ TALER_CRYPTO_helper_denom_connect (
|
|||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_DISK_directory_create_for_file (template))
|
GNUNET_DISK_directory_create_for_file (template))
|
||||||
{
|
{
|
||||||
|
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
"mkdir",
|
||||||
|
template);
|
||||||
GNUNET_free (dh);
|
GNUNET_free (dh);
|
||||||
GNUNET_free (template);
|
GNUNET_free (template);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user