Commit c5ee8ceb authored by Romain Courteaud's avatar Romain Courteaud

Do not crash if all resolvers are unreachable

parent c10c5931
...@@ -32,7 +32,7 @@ class WebBot: ...@@ -32,7 +32,7 @@ class WebBot:
self._db, status_id, self.config["DNS"].split() self._db, status_id, self.config["DNS"].split()
) )
if not resolver_dict: if not resolver_dict:
raise NotImplementedError("No resolver available") return
# Calculate the full list of domain to check # Calculate the full list of domain to check
domain_list = self.config["DOMAIN"].split() domain_list = self.config["DOMAIN"].split()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment