Project

General

Profile

« Previous | Next » 

Revision 49838

print more info

View differences:

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