mirror of https://github.com/MISP/misp-modules
Better error reporting
parent
ffc0a97126
commit
60d3e0a1ac
|
@ -265,7 +265,7 @@ def handler(q=False):
|
||||||
for s in services:
|
for s in services:
|
||||||
globals()[s](domtools, to_query, values)
|
globals()[s](domtools, to_query, values)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(type(e), e)
|
print(to_query, type(e), e)
|
||||||
|
|
||||||
return {'results': values.dump()}
|
return {'results': values.dump()}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue