Rails3beta4 and exception notification

Hi there

Has anyone got rails3beta4 and exception notification to work?

I can’t :frowning:

Found Lawrences stuff here

https://rails.lighthouseapp.com/projects/8995/tickets/87-exception-notification-cannot-be-used-with-rails-3-beta-4

I can’t even install the gem, let alone apply the patch, bundle install
says

Could not find gem ‘exception_notifier (>= 0, runtime)’ in
git://github.com/rails/exception_notification (at master).
Source does not contain any versions of ‘exception_notifier (>= 0,
runtime)’

booooooo

if anyone has any tops or suggestions I’m all ears

Are we fading out Exception Notification in rails 3? I hope not, it’s
really handy. I’m going to have a look at hoptoad whilst I wait for any
help, if I can make that work then EN might be out the window.

On 16 Jul 2010, at 13:33, Matt D. wrote:

says

Are we fading out Exception Notification in rails 3? I hope not, it’s
really handy. I’m going to have a look at hoptoad whilst I wait for
any
help, if I can make that work then EN might be out the window.

You could also look into Failtale, it’s really neat (and open source).
Saw the presentation of these guys on the last Arrrrcamp and was quite
impressed. They probably could use some contributions too from the
community.

I’m seriously considering throwing out EN soon and replacing it. EN
was nice when there were no alternatives, but being spammed when
customers click 20 times or having the app hang if the SMTP server
goes offline or goes wonky… time to look into something better imo.

http://failtale.be/

For Rails/Ruby apps you can use the failtale-reporter gem to send
errors over automatically.

Best regards

Peter De Berdt

Cheers Peter

I got it to install as a gem in the end like so

gem ‘exception_notification’, :git =>
‘git://github.com/rails/exception_notification’, :branch => ‘master’,
:require => ‘exception_notifier’

And sticking this into the application.rb is not breaking the site on
startup

config.middleware.use ExceptionNotifier,
    :email_prefix => "[Whatever] ",
    :sender_address => %{"notifier" <[email protected]>},
    :exception_recipients => %w{[email protected]}

Whether it works or not is another matter, I’ll keep you posted :slight_smile:

Peter De Berdt wrote:

On 16 Jul 2010, at 13:33, Matt D. wrote:

says

Are we fading out Exception Notification in rails 3? I hope not, it’s
really handy. I’m going to have a look at hoptoad whilst I wait for
any
help, if I can make that work then EN might be out the window.

You could also look into Failtale, it’s really neat (and open source).
Saw the presentation of these guys on the last Arrrrcamp and was quite
impressed. They probably could use some contributions too from the
community.

I’m seriously considering throwing out EN soon and replacing it. EN
was nice when there were no alternatives, but being spammed when
customers click 20 times or having the app hang if the SMTP server
goes offline or goes wonky… time to look into something better imo.

http://failtale.be/

For Rails/Ruby apps you can use the failtale-reporter gem to send
errors over automatically.

Best regards

Peter De Berdt