The way I'd do that is by writing a spider middleware that collect the
exceptions through the
process_spider_exception()<http://doc.scrapy.org/en/latest/topics/spider-middleware.html#scrapy.contrib.spidermiddleware.SpiderMiddleware.process_spider_exception>
method,
but there's nothing built-in on Scrapy for that functionality.

If you come up with something that you think would be generally useful,
consider sending a pull request! :)


On Sat, Apr 19, 2014 at 1:32 PM, Bill Ebeling <[email protected]> wrote:

> I have a piece in my pipeline that on close inspects the spider_stats and
> if any of the tests fails it sends an email.  I'm trying to get it to add
> any stack traces to the email.
>
> --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to