DESCRIPTION

Properly log the exception when the endpoint write failed.

Motivation
----------
When the write failed and is logged, the actual exception is not
properly logged too.

Modifications
-------------
Log the cause, which contains the throwable.

Result
------
Better debugable log messages.

Change-Id: I2a60f8cdb5bcf099f7927f7212fe7a0327624985
Reviewed-on: http://review.couchbase.org/44477
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Natasha Sullivan
date: 2014-12-18 14:50:28.421000000

Change has been successfully cherry-picked as 1c16217a5858446986e6a86b8c91808fad83ec5f

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