diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
commit | e42cf1a738aef2c2aee32997d157965b02e2fe0d (patch) | |
tree | 0332ba70640210f1e4119927e2e5b72005f57163 /src/backend/taler-merchant-httpd_templating.c | |
parent | 579938a29e1d1d4ada49ca4c1a8b0d18878974a9 (diff) | |
download | merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.gz merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.bz2 merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.zip |
adjust error codes in merchant
Diffstat (limited to 'src/backend/taler-merchant-httpd_templating.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_templating.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_templating.c b/src/backend/taler-merchant-httpd_templating.c index b604f6ba..393104dc 100644 --- a/src/backend/taler-merchant-httpd_templating.c +++ b/src/backend/taler-merchant-httpd_templating.c @@ -146,7 +146,7 @@ TMH_return_from_template (struct MHD_Connection *connection, if (MHD_YES != TALER_MHD_reply_with_error (connection, MHD_HTTP_NOT_ACCEPTABLE, - TALER_EC_MERCHANT_FAILED_TO_LOAD_TEMPLATE, + TALER_EC_MERCHANT_GENERIC_FAILED_TO_LOAD_TEMPLATE, template)) return GNUNET_SYSERR; return GNUNET_NO; @@ -164,7 +164,7 @@ TMH_return_from_template (struct MHD_Connection *connection, if (MHD_YES != TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, - TALER_EC_MERCHANT_FAILED_TO_EXPAND_TEMPLATE, + TALER_EC_MERCHANT_GENERIC_FAILED_TO_EXPAND_TEMPLATE, template)) return GNUNET_SYSERR; return GNUNET_NO; |