]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Handle exceptions rendering flash messages
[rails.git] / app / helpers / application_helper.rb
index c9f165d528af8f7d32bd6ee94e03035e02d3a2e8..bb09f3a49953bd66ec26fcb8734befb800c767e1 100644 (file)
@@ -71,5 +71,7 @@ module ApplicationHelper
     else
       flash
     end
+  rescue StandardError
+    flash.inspect if Rails.env.development?
   end
 end