Handle exceptions rendering flash messages

This commit is contained in:
Tom Hughes 2021-11-23 16:55:06 +00:00
parent d951621c44
commit 64457dbbd0

View file

@ -71,5 +71,7 @@ module ApplicationHelper
else
flash
end
rescue StandardError
flash.inspect if Rails.env.development?
end
end