mattupstate/flask-principal — pull request #3 by masom (2012-08-15 17:07:37+00:00)
Title: Properly re-raise an exception. No longer hides the exception stack.

It seems like Principal is 'eating' exception details when re-raising in the __exit__ method.

Calling raise will automatically re-raise the previous exception and it does not hide the stack.