Skip to content

Commit

Permalink
bug fix with exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-kerins committed Jan 13, 2022
1 parent 8331e05 commit a829745
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scrapeops_scrapy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.4"
__version__ = "0.3.5"
2 changes: 1 addition & 1 deletion scrapeops_scrapy/stats/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def log_levels(self, crawler):
self.set_value(self._overall_stats, log_key, log_value)


def exception_type_check(key):
def exception_type_check(self, key):
if isinstance(key, str):
return key.startswith('downloader/exception_type_count/')
return False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages


VERSION = '0.3.4'
VERSION = '0.3.5'
DESCRIPTION = 'Scrapeops Scrapy SDK, is a monitoring tool for your Scrapy spiders.'

setup(name='scrapeops_scrapy',
Expand Down

0 comments on commit a829745

Please sign in to comment.