Revision 49838
Added by Sandro La Bruzzo over 6 years ago
es_connector.py | ||
---|---|---|
183 | 183 |
|
184 | 184 |
return DLIESResponse(total=1, hits=hits) |
185 | 185 |
except Exception as e: |
186 |
print "Error on getting item" |
|
187 |
print('Error on line {}'.format(sys.exc_info()[-1].tb_lineno), type(e).__name__, e) |
|
186 |
print "Error on getting item " |
|
187 |
print e |
|
188 |
print "on line %i"% sys.exc_traceback.tb_lineno |
|
188 | 189 |
return DLIESResponse() |
Also available in: Unified diff
print more info