mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 15:03:56 +00:00
add error details when image pipeline fails
This commit is contained in:
parent
9c9a18b3a3
commit
5f899aa4ec
@ -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)
|
||||
raise
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user