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.
Merge pull request #23 from aluzzardi/improve-error-logs

Improve error logging.