Print stacktrace on image errors.

This commit is contained in:
Bastian Kleineidam 2013-03-25 19:48:47 +01:00
parent 1a7dfc02d2
commit ec33276fd7

View file

@ -131,7 +131,7 @@ class _BasicScraper(object):
yield self.getComicStrip(url, data, baseUrl) yield self.getComicStrip(url, data, baseUrl)
except ValueError as msg: except ValueError as msg:
# image not found # image not found
out.error(msg) out.exception(msg)
if self.firstStripUrl == url: if self.firstStripUrl == url:
out.debug("Stop at first URL %s" % url) out.debug("Stop at first URL %s" % url)
self.hitFirstStripUrl = True self.hitFirstStripUrl = True