dcramer/raven — pull request #116 by flupke (2012-05-12 11:18:27+00:00)
Title: Checking for 'skip_sentry' attribute exception instance rather than type

This simple patch changes the check for the 'skip_sentry' attribute from the exception type to the exception instance.

This allows to filter exceptions in middleware classes (for example depending on exception message, stack trace, etc..), as demonstrated in the test.