massdns data import better error handling
This commit is contained in:
parent
d8a3e2ac9c
commit
eabe4b84ae
|
@ -167,8 +167,13 @@ class MassDnsParser(Parser):
|
|||
)
|
||||
self.register(record)
|
||||
self.prof.enter_step("parse_massdns")
|
||||
except IndexError:
|
||||
except KeyError:
|
||||
# Unhandle record type
|
||||
continue
|
||||
except IndexError as err:
|
||||
# Aborted file
|
||||
print(err)
|
||||
break
|
||||
|
||||
|
||||
PARSERS = {
|
||||
|
|
Loading…
Reference in a new issue