Add raven middleware after the router