Better error reporting

pull/82/merge
Raphaël Vinot 2016-12-16 12:02:28 +01:00
parent ffc0a97126
commit 60d3e0a1ac
1 changed files with 1 additions and 1 deletions

View File

@ -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()}