fix: address code review — narrow exception types, computed dkimLiveText getter

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/19d17518-732d-4644-889b-cc63256e19b1

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-29 18:56:08 +00:00
parent 0d1a4fdac3
commit a04006f75b
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ async def get_domains_summary(db: Session = Depends(get_db)):
provider.check_domain(domain_name, selectors=combined),
timeout=10.0,
)
except (asyncio.TimeoutError, Exception) as exc: # pylint: disable=broad-exception-caught
except (asyncio.TimeoutError, LookupError, OSError) as exc:
logger.warning("DNS check failed for %s: %s", domain_name, exc)
return DomainDNSResult()