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,10 +2402,12 @@ out:
json_decref(val); json_decref(val);
goto resend; goto resend;
} }
applog(LOG_DEBUG, "Initiate stratum failed"); applog(LOG_DEBUG, "Initiating stratum failed on %s", pool->poolname);
if (sockd) if (sockd) {
applog(LOG_DEBUG, "Suspending stratum on %s", pool->poolname);
suspend_stratum(pool); suspend_stratum(pool);
} }
}
json_decref(val); json_decref(val);
return ret; return ret;