From 9fa9d74f12ed3bbf6790ce69a05b2f43fa1b4db6 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Fri, 11 Feb 2011 21:20:12 -0300 Subject: [PATCH] Documenting how enable exception notifications in development environment --- HACKING | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) diff --git a/HACKING b/HACKING index c1465a0..7588804 100644 --- a/HACKING +++ b/HACKING @@ -70,3 +70,17 @@ environment, you must run the delayed_job server like this: ./script/delayed_job run This will block your terminal. To stop the delayed_job server, hit Control-C. + +== Enabling exceptions notification + +By default, exception notifications are disabled in development environment. If +you want to enable it then you need to change some files: + +1) Add in config/environments/development.rb: + config.action_controller.consider_all_requests_local = false + +2) Add in app/controller/application.rb: + local_addresses.clear + +3) Add in config/noosfero.yml at development section: + exception_recipients: [admin@example.com] -- libgit2 0.21.2