Skip to content

Commit a829745

Browse files
committed
bug fix with exception handling
1 parent 8331e05 commit a829745

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scrapeops_scrapy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.4"
1+
__version__ = "0.3.5"

scrapeops_scrapy/stats/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def log_levels(self, crawler):
176176
self.set_value(self._overall_stats, log_key, log_value)
177177

178178

179-
def exception_type_check(key):
179+
def exception_type_check(self, key):
180180
if isinstance(key, str):
181181
return key.startswith('downloader/exception_type_count/')
182182
return False

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup, find_packages
22

33

4-
VERSION = '0.3.4'
4+
VERSION = '0.3.5'
55
DESCRIPTION = 'Scrapeops Scrapy SDK, is a monitoring tool for your Scrapy spiders.'
66

77
setup(name='scrapeops_scrapy',

0 commit comments

Comments
 (0)