From a3dd7ad9994f16eb1938d2f9a1f68a99b25703cf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 3 Nov 2022 22:19:41 +0100 Subject: -ref bug --- src/templating/templating_api.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/templating/templating_api.c') diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index 6384672f..47ada208 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; -- cgit v1.2.3