Improve error handling

TransportError is the containing exception that is useful,
ConnectionError is just one type. Print the whole exception
on failure.

Change-Id: Icbd0922af4e95bd035429c23dc88ab4b29bfb5bd