We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3804b3 commit 15ccf79Copy full SHA for 15ccf79
scrapy/core/downloader/handlers/__init__.py
@@ -43,14 +43,16 @@ def _get_handler(self, scheme):
43
'no handler available for that scheme'
44
return None
45
46
+ path = self._schemes[scheme]
47
try:
- dhcls = load_object(self._schemes[scheme])
48
+ dhcls = load_object(path)
49
dh = dhcls(self._crawler_settings)
50
except NotConfigured as ex:
51
self._notconfigured[scheme] = str(ex)
52
53
except Exception as ex:
- logger.exception()
54
+ logger.exception('Loading "{}" for scheme "{}" handler'\
55
+ .format(path, scheme))
56
57
58
else:
0 commit comments