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
Reviewed-on: http://review.couchbase.org/44689


COMMENTS

author: Natasha Sullivan
date: 2014-12-29 11:18:16.311000000

Change has been successfully cherry-picked as 44f02c45e2fc004247257f0e22c8a09a985fada9

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