write a custom middleware for logging exceptions for prod deploy instead of
emailing ADMINS.