From 648cb143ece6fd6f87b4d9886511ae141ae83366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 12 Dec 2022 11:43:14 +0100 Subject: [PATCH] chg: Sync with prod --- bin/dbinsert.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/dbinsert.py b/bin/dbinsert.py index c39b8c3..c63755b 100755 --- a/bin/dbinsert.py +++ b/bin/dbinsert.py @@ -80,6 +80,10 @@ class DBInsertManager(AbstractManager): # Data gathered from IPASN History: # * IP Block of the IP # * AS number + if not routing_info: + self.logger.warning(f"No response for {responses['responses'][i]}") + done.append(uuid) + continue if 'error' in routing_info: self.logger.warning(f"Unable to find routing information for {data['ip']} - {data['datetime']}: {routing_info['error']}") done.append(uuid)