Corresponding code
def start_requests( self ): requests = [ Request( url['url'], meta=url['meta'], callback=self.parse, errback=self.handle_error ) for url in self.start_urls if valid_url( url['url'] )] return requests def handle_error( self, err ):
I have my own code to save error codes in the database. I do not want them to appear in the log. How can I suppress these errors?
Please note that I do not want to suppress all errors - only those that are processed here.
source share