From b449b56606277881216ef1a16972db8afc142cac Mon Sep 17 00:00:00 2001 From: kazet Date: Mon, 14 Aug 2023 12:45:29 +0200 Subject: [PATCH] More verbose message (#37) --- autoreporter_addons/ssl_checks/reporter.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autoreporter_addons/ssl_checks/reporter.py b/autoreporter_addons/ssl_checks/reporter.py index 9007119..3399eb6 100644 --- a/autoreporter_addons/ssl_checks/reporter.py +++ b/autoreporter_addons/ssl_checks/reporter.py @@ -70,7 +70,12 @@ def create_reports(task_result: Dict[str, Any], language: Language) -> List[Repo # which is actually used, and therefore don't report subdomains. return [] except Exception: - logger.warning(f"Unable to check whether domain {domain} has identical content to parent domain") + logger.warning( + f"Unable to check whether domain {domain} has similar content to parent domain. Artemis SSL check " + "module tries to reduce the number of false positives by skipping reports where domain has similar " + "content to parent domain, as there are cases where e.g. mail.example.com serves the same content " + "as example.com. If this fails, two similar reports may get sent." + ) if "response_status_code" in result and "response_content_prefix" in result: response_status_code = result["response_status_code"]