def process_exception(self, request, exception):
        revision_context_manager.invalidate()
        self._close_revision(request)
Closes the revision.
dataset/ETHPy150Open etianen/django-reversion/src/reversion/middleware.py/RevisionMiddleware.process_exception