diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-16 22:54:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-16 22:54:40 +0200 |
commit | 38c85d80d09564b58c51f2b4771efa17fe2cdcf6 (patch) | |
tree | 670cac4c943ce25d6f55fafc3476b0c680d47f7f /src/backend/taler-merchant-httpd_exchanges.c | |
parent | c6bf45746d2d4e4843058f27fbe5733f1df52130 (diff) | |
download | merchant-38c85d80d09564b58c51f2b4771efa17fe2cdcf6.tar.gz merchant-38c85d80d09564b58c51f2b4771efa17fe2cdcf6.tar.bz2 merchant-38c85d80d09564b58c51f2b4771efa17fe2cdcf6.zip |
better error reporting on config trouble
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |