chg: Improve logging

pull/638/head
Raphaël Vinot 2023-03-12 19:24:39 +01:00
parent 96f1b2bd53
commit 07c365e3bb
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ class Lookyloo():
else:
to_return['all_emails'] |= {contact.lstrip('mailto:') for contact in parsed['contact'] if contact.startswith('mailto:')}
except SecurityTXTNotAvailable as e:
self.logger.info(e)
self.logger.debug(f'Unable to get a security.txt file: {e}')
for emails in to_return['ips'].values():
to_return['all_emails'] |= set(emails)