From 0fc4507bf3612980d118aa717131e3cd43d14642 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 15 Feb 2015 13:42:16 +1100 Subject: [PATCH] Add more info to failed to authorise --- src/generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.c b/src/generator.c index 062ed6d8..ed6e69b4 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1237,8 +1237,8 @@ static bool auth_stratum(ckpool_t *ckp, connsock_t *cs, proxy_instance_t *proxi) if (res_val) { ret = json_is_true(res_val); if (!ret) { - LOGWARNING("Proxy %d:%s failed to authorise in auth_stratum", - proxi->id, proxi->si->url); + LOGWARNING("Proxy %d:%s failed to authorise in auth_stratum, got: %s", + proxi->id, proxi->si->url, buf); goto out; } } else {