c4fcm/MediaCloud-API-Client — pull request #18 by dlarochelle (2014-06-10 23:22:12+00:00)
Title: Improve error message and logging for HTTP_STATUS errors

Provide more detailed output in both the log and the exception error message when api.mediacloud.org returns an HTTP status error.

Changes: include the full URL with parameters, include English language name for the error code, include the content of the error page in the log.

These changes make it much easier to understand why a request is failing. And should allow users to give us more informative error messages.