'Handle UrlError exceptions raised when requests are made.
Subclasses should redefine this method for a more refined
behavior and must respect the return value format.
:param http_exception: HTTPRequestException exception instance
:return: A tuple containing:
* re_raise: Boolean value that indicates the caller if the original
exception should be re-raised after this error handling
method.
* result: The result to be returned to the caller. This only makes
sense if re_raise is False.'

def handle_url_error(self, uri, http_exception):

    msg = 'The    %s    plugin    got    an    error    while    requesting    "%s".    Reason:    "%s"'
    args = (self.get_name(), uri, http_exception)
    om.out.error((msg % args))
    return (False, new_no_content_resp(uri, add_id=True))
