Log the fortinet probe failure
This commit is contained in:
1 parent
af53cfbf8c
commit
f3c2fc7b10
1 file changed
+2
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user