diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-11-16 17:48:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-11-16 17:48:26 +0100 |
commit | 800279788f6a6c3ee0a4912ed6e0331017537298 (patch) | |
tree | 2580d5e107edb80173f103e1c4f2c37ff8f95561 /src/backend/taler-merchant-httpd.c | |
parent | 0cafdf5efce0a115753e4109c657b4532900ab03 (diff) |
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index f14c2c7e..34bed4ad 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -2263,6 +2263,7 @@ run (void *cls, if (GNUNET_SYSERR == TALER_config_get_currency (cfg, + "merchant", &TMH_currency)) { @@ -2317,7 +2318,14 @@ run (void *cls, "merchant", "FORCE_AUDIT")) TMH_force_audit = GNUNET_YES; - TALER_TEMPLATING_init ("merchant"); + if (GNUNET_OK != + TALER_TEMPLATING_init (TALER_EXCHANGE_project_data ())) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Failed to setup templates\n"); + GNUNET_SCHEDULER_shutdown (); + return; + } if (GNUNET_OK != TMH_spa_init ()) { |