-fix logging
This commit is contained in:
parent
cc34502ac1
commit
5259ea0532
@ -542,7 +542,6 @@ handle_get_aml (struct TEH_RequestContext *rc,
|
|||||||
TALER_EC_GENERIC_DB_FETCH_FAILED,
|
TALER_EC_GENERIC_DB_FETCH_FAILED,
|
||||||
NULL);
|
NULL);
|
||||||
case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
|
case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
|
||||||
GNUNET_break_op (0);
|
|
||||||
return TALER_MHD_reply_with_error (rc->connection,
|
return TALER_MHD_reply_with_error (rc->connection,
|
||||||
MHD_HTTP_FORBIDDEN,
|
MHD_HTTP_FORBIDDEN,
|
||||||
TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED,
|
TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED,
|
||||||
|
@ -256,6 +256,8 @@ handle_lookup_finished (void *cls,
|
|||||||
GNUNET_assert (NULL == lh->decision_cb);
|
GNUNET_assert (NULL == lh->decision_cb);
|
||||||
TALER_EXCHANGE_lookup_aml_decision_cancel (lh);
|
TALER_EXCHANGE_lookup_aml_decision_cancel (lh);
|
||||||
return;
|
return;
|
||||||
|
case MHD_HTTP_NO_CONTENT:
|
||||||
|
break;
|
||||||
case MHD_HTTP_BAD_REQUEST:
|
case MHD_HTTP_BAD_REQUEST:
|
||||||
lr.hr.ec = TALER_JSON_get_error_code (j);
|
lr.hr.ec = TALER_JSON_get_error_code (j);
|
||||||
lr.hr.hint = TALER_JSON_get_error_hint (j);
|
lr.hr.hint = TALER_JSON_get_error_hint (j);
|
||||||
|
Loading…
Reference in New Issue
Block a user