From 115eb1ad2fe63e3fbf4d15825d59a3820a01baba Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Thu, 13 Feb 2014 12:29:35 +0200 Subject: [PATCH] pool: be verbose on which pool failed. --- util.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util.c b/util.c index 76b271f6..36fc94f2 100644 --- a/util.c +++ b/util.c @@ -2402,9 +2402,11 @@ out: json_decref(val); goto resend; } - applog(LOG_DEBUG, "Initiate stratum failed"); - if (sockd) + applog(LOG_DEBUG, "Initiating stratum failed on %s", pool->poolname); + if (sockd) { + applog(LOG_DEBUG, "Suspending stratum on %s", pool->poolname); suspend_stratum(pool); + } } json_decref(val);