(self, failure, request, response, spider)
return {
            'level': logging.ERROR,
            'msg': SPIDERERRORMSG,
            'args': {
                'request': request,
                'referer': referer_str(request),
            }
        }
Logs an error message from a spider.

        .. versionadded:: 2.0
Logs an error message from a spider.
Logs an error message from a spider .
def spider_error(self, failure, request, response, spider):
        """Logs an error message from a spider.

        .. versionadded:: 2.0
        """
        return {
            'level': logging.ERROR,
            'msg': SPIDERERRORMSG,
            'args': {
                'request': request,
                'referer': referer_str(request),
            }
        }
def spider_error ( self , failure , request , response , spider ) : return { 'level' : logging . ERROR , 'msg' : SPIDERERRORMSG , 'args' : { 'request' : request , 'referer' : referer_str ( request ) , } }