DESCRIPTION

JCBC-490: Error log unexpected/unparsable JSON body content.

Motivation
----------
Stack traces with invalid server responses have been reported where
the root cause is unclear. The stack trace does not show the actual
response however so its hard to decipher.

Modifications
-------------
Since normally such a case shouldn't happen, the actual body including
the HTTP header are logged at WARN level to raise proper attention and
make it easier to find the actual cause.

Result
------
Unparsable server results that lead to exceptions are now easier to
decipher and to track down eventually.

Change-Id: Id3c98a6488581c5025811433452551de8cc9a136


COMMENTS

author: Natasha Sullivan
date: 2014-07-14 09:32:53.358000000

Uploaded patch set 1.

-------------------------------------
