I would like to catch all exceptions in a Rails 3 application. I tried to put a begin rescue around Cms::Application.initialize! (in config/environment) but it does not work:
begin
Cms::Application.initialize!
rescue
# notify me
end
I few words I would like to try to have a basic exception notification. I know there are plug ins and services around, but I want to do it on my own