commit 8b3f8c37b5629ebd7812e308ecff2f10c69b9e46
parent 6d1b5aa03a03fdc8f09b8ee382b02b0eece834a3
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 16 Aug 2026 08:47:03 +0200
better error replies
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/taler-auditor-httpd_delete-generic.c b/src/auditor/taler-auditor-httpd_delete-generic.c
@@ -60,7 +60,7 @@ TAH_delete_generic (
GNUNET_break_op (0);
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_BAD_REQUEST,
- TALER_EC_AUDITOR_RESOURCE_NOT_FOUND,
+ TALER_EC_GENERIC_PARAMETER_MALFORMED,
"no row id specified");
}
diff --git a/src/auditor/taler-auditor-httpd_patch-generic-suppressed.c b/src/auditor/taler-auditor-httpd_patch-generic-suppressed.c
@@ -114,7 +114,7 @@ TAH_patch_generic_suppressed (
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_GENERIC_DB_STORE_FAILED,
- "update_account");
+ "update_to_suppressed");
case GNUNET_DB_STATUS_SOFT_ERROR:
GNUNET_break (0);
return TALER_MHD_reply_with_error (connection,