Log the fortinet probe failure
CI / Python 3.13 (push) Successful in 36s
CI / Python 3.12 (push) Successful in 41s
CI / Build and smoke-test image (push) Successful in 9s

This commit is contained in:
omar committed 2026-11-29 11:26:19 +03:00
1 parent af53cfbf8c
commit f3c2fc7b10
1 file changed
+2
+2
View File
@@ -809,6 +809,8 @@ class Search:
try:
result = await lookup(source, kind, value, http=self._http, deadline=deadline, continuation=continuation)
except HttpError as exc:
if source == 'fortinet':
_LOG.info('fortinet %s %s -> %s', kind, value[1] if isinstance(value, tuple) else value, exc.status)
status = 'ok' if exc.status == 'not_found' else exc.status
return ProviderPage(docs=[], status=Status(source=source, status=status, retry_at=exc.retry_at))
if result.status.status == 'not_found':