ask/celery — pull request #578 by SeanOC (2011-12-27 21:37:52+00:00)
Title: Fixed a compatibility problem with Sentry/Raven

The logging/monitoring tool [Senty](https://github.com/dcramer/sentry) and it's django/celery client [Raven](https://github.com/dcramer/raven) do a bunch of frame inspection to provide nice stack trace info to developers. Unfortunately, the tooling that Celery has in place to allow exception info to be pickled strips out too much of the Frame information which results in raven exploding on exception.

I've updated the serializable version of the Frame class to pull in all of the information that raven is looking for while keeping the resulting object pickleable.

If your curious to see what raven is doing to inspect the frame objects, you can check it out [here](https://github.com/dcramer/raven/blob/master/raven/utils/stacks.py#L116).