

def _errorResponse(self, error):
    reason = str(error.value)
    tb = traceback.format_exc(traceback.extract_tb(error.tb))
    return simplejson.dumps({
        'error': error,
        'traceback': tb,
    })

dataset/ETHPy150Open wehriam/awspider/awspider/resources/base.py BaseResource._errorResponse/VarMisuse@46/53 `reason`->`error`