From 38b09e0f95dc92cfacfb2259ac9e1f00f4612392 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 11 Jan 2016 12:08:09 +1100 Subject: [PATCH] Can get invalid json from upstream server when responding to invalid json from client --- src/connector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 3f6beb89..2023e8e5 100644 --- a/src/connector.c +++ b/src/connector.c @@ -832,7 +832,8 @@ static void test_redirector_shares(ckpool_t *ckp, client_instance_t *client, con int64_t id; if (!val) { - LOGNOTICE("Invalid json response to client %"PRId64, client->id); + /* Can happen when responding to invalid json from client */ + LOGINFO("Invalid json response to client %"PRId64 "%s", client->id, buf); return; } if (!json_get_int64(&id, val, "id")) {