Add exception details on transport error

Makes it easier to debug why there was a transport error.