From 38c85d80d09564b58c51f2b4771efa17fe2cdcf6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Apr 2016 22:54:40 +0200 Subject: better error reporting on config trouble --- src/backend/taler-merchant-httpd_exchanges.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/backend/taler-merchant-httpd_exchanges.c') diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c index 5ecc8217..4796771b 100644 --- a/src/backend/taler-merchant-httpd_exchanges.c +++ b/src/backend/taler-merchant-httpd_exchanges.c @@ -487,7 +487,10 @@ TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg) ctx = TALER_EXCHANGE_init (); if (NULL == ctx) + { + GNUNET_break (0); return GNUNET_SYSERR; + } GNUNET_CONFIGURATION_iterate_sections (cfg, &parse_exchanges, (void *) cfg); -- cgit v1.2.3