Improve error logging.

Logs were only outputting the error message, making it impossible to
determine if the problem was coming from dockerclient or application
code.