fix: MISP export when rendered node is empty

Fix #182
pull/186/head
Raphaël Vinot 2021-03-30 14:06:27 +02:00
parent 094b69f9b9
commit acb1bf2814
1 changed files with 3 additions and 0 deletions

View File

@ -1037,6 +1037,9 @@ class Lookyloo():
event.add_object(fo)
except Har2TreeError:
pass
except AttributeError:
# No `body` in rendered node
pass
return event
def get_hashes(self, tree_uuid: str, hostnode_uuid: Optional[str]=None, urlnode_uuid: Optional[str]=None) -> Set[str]: