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-29 10:53:40.272000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2014-12-29 10:54:17.766000000

Patch Set 1: Verified+1

-------------------------------------
author: Estrella Humphrey
date: 2014-12-29 11:00:27.304000000

Patch Set 1: Code-Review+2

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