connect error handling middleware to log via raven