fkie_node_manager: changed exception handling in name resolution
@@ -123,7 +123,7 @@ class MasterEntry(object):
for addr in ipaddrlist:
if not self.has_address(addr):
self._addresses.append(addr)
- except socket.gaierror:
+ except Exception:
# no suitable address found
pass
@@ -137,7 +137,7 @@ class MasterEntry(object):
self._addresses.insert(0, hostname)
if not self.has_address(name_splitted[0]):
self._addresses.insert(0, name_splitted[0])
- except socket.gaierror:
+ except Exception:
# no suitable address found
pass
