mirror of https://github.com/scrapy/scrapy.git
fixed bug in DownloaderStats middleware
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40491
This commit is contained in:
parent
1510efcac9
commit
4599893f35
|
|
@ -38,7 +38,6 @@ class DownloaderStats(object):
|
|||
stats.incpath('%s/downloader/exception_type_count/%s' % (spider.domain_name, ex_class))
|
||||
if isinstance(exception, HttpException):
|
||||
self._inc_response_count(exception.response, spider.domain_name)
|
||||
raise exception
|
||||
|
||||
def _inc_response_count(self, response, domain):
|
||||
stats.incpath('_global/downloader/response_count')
|
||||
|
|
|
|||
Loading…
Reference in New Issue