I am trying to configure a custom particle for exception notification messages in a Rails 3 application using the current version (2.4.0) exception_notification gem
README clearly states that "you can configure how each of these sections are displayed by placing a partial name for this part in your Application Catalog / views / exception _notifier [...] You can even add new sections that describe application-specific data "
And I'm definitely trying this: Modifying existing partitions and adding a new custom partition. When you just change the section, my modified partial (app / views / exception_notifier / _session.text.erb) does not affect. When I add a new custom section, I get the following error in the log:
ActionView::Template::Error (Missing partial exception_notifier/user with {:formats=> [:text], :handlers=>[:haml, :rjs, :rhtml, :builder, :erb, :rxml], :locale=>[:de]} in view paths "/usr/lib/ruby/gems/1.8/gems/exception_notification-2.4.0/lib/exception_notifier/views"):
What am I doing wrong? I suspect that the viewing path was somehow confused and that exception_notifier did not bother to browse at all in the my / app / views / exception_notifier directory.
source share