chg: More logging

pull/21/head
Raphaël Vinot 2023-03-22 14:10:51 +01:00
parent b614d9bd15
commit 9414a82551
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class DBInsertManager(AbstractManager):
retry.append(uuid) retry.append(uuid)
continue continue
if 'asn' in entry and entry['asn'] in [None, '0']: if 'asn' in entry and entry['asn'] in [None, '0']:
self.logger.warning(f"Unable to find the AS number associated to {data['ip']} - {data['datetime']} (got {entry['asn']}).") self.logger.warning(f"Unable to find the AS number associated to {data['ip']} - {data['datetime']} (got {entry['asn']}) - {entry}.")
done.append(uuid) done.append(uuid)
continue continue
if 'prefix' in entry and entry['prefix'] in [None, '0.0.0.0/0', '::/0']: if 'prefix' in entry and entry['prefix'] in [None, '0.0.0.0/0', '::/0']: