aboutsummaryrefslogtreecommitdiff
path: root/src/templating/templating_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-03 22:19:41 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-03 22:19:41 +0100
commita3dd7ad9994f16eb1938d2f9a1f68a99b25703cf (patch)
treec99d52fe04e9edb852329993e730e05ced591043 /src/templating/templating_api.c
parent77ebca5e9cee2c64a162be9a5e80abe0d3d49f2b (diff)
-ref bug
Diffstat (limited to 'src/templating/templating_api.c')
-rw-r--r--src/templating/templating_api.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c
index 6384672f3..47ada208e 100644
--- a/src/templating/templating_api.c
+++ b/src/templating/templating_api.c
@@ -191,13 +191,10 @@ TALER_TEMPLATING_build (struct MHD_Connection *connection,
template);
if (NULL == tmpl)
{
- /* FIXME: should this not be an
- internal failure? The language
- mismatch is not critical here! */
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to load template `%s'\n",
template);
- *http_status = MHD_HTTP_NOT_ACCEPTABLE;
+ *http_status = MHD_HTTP_INTERNAL_SERVER_ERROR;
*reply = TALER_MHD_make_error (TALER_EC_GENERIC_FAILED_TO_LOAD_TEMPLATE,
template);
return GNUNET_NO;