Scrapy, a fast high-level web crawling & scraping framework for Python.
add error details when image pipeline fails
Libor Nenadál5f899aa4ec7c
diff --git a/scrapy/contrib/pipeline/images.py b/scrapy/contrib/pipeline/images.pyindex fa4125520..477559095 100644--- a/scrapy/contrib/pipeline/images.py+++ b/scrapy/contrib/pipeline/images.py@@ -198,7 +198,7 @@ class ImagesPipeline(MediaPipeline):key = self.image_key(request.url)checksum = self.image_downloaded(response, request, info)except ImageException, ex:- log.err('image_downloaded hook failed',+ log.err('image_downloaded hook failed: %s' % ex,level=log.WARNING, spider=info.spider)raiseexcept Exception: