def METHOD_NAME(self, project):
    try:
        test_results = self.test_configuration(project)
    except Exception as exc:
        if isinstance(exc, HTTPError) and hasattr(exc.response, "text"):
            test_results = f"{exc}\n{exc.response.text[:256]}"
        elif hasattr(exc, "read") and callable(exc.read):
            test_results = f"{exc}\n{exc.read()[:256]}"
        else:
            if str(exc).lower().startswith("error communicating with"):
                test_results = str(exc)[:256]
            else:
                test_results = (
                    "There was an internal error with the Plugin, %s" % str(exc)[:256]
                )
    if not test_results:
        test_results = "No errors returned"
    return test_results