mirror of https://github.com/MISP/misp-modules
Catch exception
parent
467e50327d
commit
ffc0a97126
|
@ -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…
Reference in New Issue