Browse Source

Catch exception

pull/82/merge
Raphaël Vinot 5 years ago
parent
commit
ffc0a97126
  1. 7
      misp_modules/modules/expansion/domaintools.py

7
misp_modules/modules/expansion/domaintools.py

@ -261,8 +261,11 @@ def handler(q=False):
values = DomainTools()
services = get_services(request)
if services:
for s in services:
globals()[s](domtools, to_query, values)
try:
for s in services:
globals()[s](domtools, to_query, values)
except Exception as e:
print(type(e), e)
return {'results': values.dump()}

Loading…
Cancel
Save