Make Could not fetch new template more informative

Helps with debugging typos in the config
This commit is contained in:
JesterHodl 2024-10-20 19:39:45 +02:00
parent fbbffc18d7
commit 4a838e3057

View File

@ -421,7 +421,7 @@ void *datum_gateway_template_thread(void *args) {
gbt = json_rpc_call(tcurl, datum_config.bitcoind_rpcurl, userpass, gbt_req); gbt = json_rpc_call(tcurl, datum_config.bitcoind_rpcurl, userpass, gbt_req);
if (!gbt) { if (!gbt) {
DLOG_ERROR("Could not fetch new template!"); DLOG_ERROR("Could not fetch new template from %s!", datum_config.bitcoind_rpcurl);
sleep(1); sleep(1);
continue; continue;
} else { } else {