alphagov/slimmer — pull request #73 by tekin (2014-05-27 15:39:34+00:00)
Title: Include rack_env when notifying exceptions

We are seeing a number of exception notifications in whitehall that are devoid of any environment information, including the request that caused it (e.g. https://errbit.production.alphagov.co.uk/apps/53020d6c0da11585f10000e7/problems/537cbab40da11556e500325a), making it impossible to identify the cause of the problem. This has been traced back to the exception handling here in slimmer, which notifies on exceptions in processors, but without including the Rack environment. This change will mean the rack environment is passed through to Airbrake such that it will be included in the notification that gets generated.