From: Tom Hughes Date: Tue, 23 Nov 2021 16:55:06 +0000 (+0000) Subject: Handle exceptions rendering flash messages X-Git-Tag: live~1410 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/64457dbbd00b0f15486623e8f9cdb5be12201d3a Handle exceptions rendering flash messages --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c9f165d52..bb09f3a49 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -71,5 +71,7 @@ module ApplicationHelper else flash end + rescue StandardError + flash.inspect if Rails.env.development? end end