From 4bba7263564303f45eed86cc68e54bbbf00856a6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Aug 2020 15:11:56 +0200 Subject: nicer generic error reporting logic, for #6432 --- src/auditor/taler-auditor-httpd_exchanges.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auditor/taler-auditor-httpd_exchanges.c') diff --git a/src/auditor/taler-auditor-httpd_exchanges.c b/src/auditor/taler-auditor-httpd_exchanges.c index f117b6083..ffa215ec2 100644 --- a/src/auditor/taler-auditor-httpd_exchanges.c +++ b/src/auditor/taler-auditor-httpd_exchanges.c @@ -90,7 +90,7 @@ TAH_EXCHANGES_handler (struct TAH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_DB_SETUP_FAILED, - "failed to establish session with database"); + NULL); } ja = json_array (); GNUNET_break (NULL != ja); @@ -106,7 +106,7 @@ TAH_EXCHANGES_handler (struct TAH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_LIST_EXCHANGES_DB_ERROR, - "Could not fetch exchange list from database"); + NULL); } return TALER_MHD_reply_json_pack (connection, MHD_HTTP_OK, -- cgit v1.2.3