1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

pool: be verbose on which pool failed.

This commit is contained in:
Noel Maersk 2014-02-13 12:29:35 +02:00
parent 87102ecd07
commit 115eb1ad2f

6
util.c
View File

@ -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);