Handle exceptions rendering flash messages
This commit is contained in:
parent
d951621c44
commit
64457dbbd0
1 changed files with 2 additions and 0 deletions
|
@ -71,5 +71,7 @@ module ApplicationHelper
|
|||
else
|
||||
flash
|
||||
end
|
||||
rescue StandardError
|
||||
flash.inspect if Rails.env.development?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue