Skip to content

Commit

Permalink
More verbose message (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet authored Aug 14, 2023
1 parent 8ad1955 commit b449b56
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion autoreporter_addons/ssl_checks/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit b449b56

Please sign in to comment.