From 4a838e3057cc8c29ec0053dad8d5514ba16e9830 Mon Sep 17 00:00:00 2001 From: JesterHodl Date: Sun, 20 Oct 2024 19:39:45 +0200 Subject: [PATCH] Make Could not fetch new template more informative Helps with debugging typos in the config --- src/datum_blocktemplates.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datum_blocktemplates.c b/src/datum_blocktemplates.c index e2b3f41..628847b 100644 --- a/src/datum_blocktemplates.c +++ b/src/datum_blocktemplates.c @@ -421,7 +421,7 @@ void *datum_gateway_template_thread(void *args) { gbt = json_rpc_call(tcurl, datum_config.bitcoind_rpcurl, userpass, gbt_req); if (!gbt) { - DLOG_ERROR("Could not fetch new template!"); + DLOG_ERROR("Could not fetch new template from %s!", datum_config.bitcoind_rpcurl); sleep(1); continue; } else {