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


COMMENTS

author: Natasha Sullivan
date: 2014-12-18 14:33:48.586000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2014-12-18 14:34:13.485000000

Patch Set 1: Verified+1

-------------------------------------
author: Estrella Humphrey
date: 2014-12-18 14:48:56.276000000

Patch Set 1: Code-Review+2

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