Hi all,
I'm having trouble using the exception_notification with radiant.
The problem seems to be that the plugin's views dir is not in
ActionMailer::Base.view_paths. I was able to hack around the problem
and send an email by adding a line like this:
view_paths << 'radiant_app/vendor/plugins/ex
.org/223988
>
> Put this code in a file in lib and make sure to include it and mix it in in
> environment.rb or in an extension class:
>
> ::ExceptionNotifier.send :include, ExceptionNotifierExt
>
> Cheers,
> Casper
>
>
>
> On 27/06/2008, at 22:26, Michael Hale wr
Hi all,
I'm having trouble using the exception_notification with radiant.
The problem seems to be that the plugin's views dir is not in
ActionMailer::Base.view_paths. I was able to hack around the problem
and send an email by adding a line like this:
view_paths << 'radiant_app/vendor/plugins/ex
%("Application Error" <[EMAIL PROTECTED]>)
ExceptionNotifier.exception_recipients = %w([EMAIL PROTECTED])
On Mon, Jun 30, 2008 at 4:28 PM, Michael Hale <[EMAIL PROTECTED]> wrote:
> Hi Thanks for the help. I tried installing the pastie as you
> suggested, but it doesn