aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-tips-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
commitd354d119db7ca0195cb93140bf3160b11449fa92 (patch)
treeae96671396a0073d4416cb59d57a7a54f87bd20b /src/backend/taler-merchant-httpd_get-tips-ID.c
parent0acefc910ff1b86aa04300310d63e3ea88d509de (diff)
fix #6432
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-tips-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_get-tips-ID.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_get-tips-ID.c b/src/backend/taler-merchant-httpd_get-tips-ID.c
index 0d853d70..0c79dc3e 100644
--- a/src/backend/taler-merchant-httpd_get-tips-ID.c
+++ b/src/backend/taler-merchant-httpd_get-tips-ID.c
@@ -198,7 +198,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_PARAMETER_MALFORMED,
- "tip_id malformed");
+ hc->infix);
}
TMH_db->preflight (TMH_db->cls);
@@ -220,7 +220,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_GET_TIPS_DB_LOOKUP_ERROR,
- "database error looking up contract");
+ NULL);
}
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
{
@@ -230,7 +230,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_NOT_FOUND,
TALER_EC_GET_TIPS_ID_UNKNOWN,
- "tip_id not found in database");
+ hc->infix);
}
/* Build response */