tests work but others don't

5 views
Skip to first unread message

badnaam

unread,
Sep 30, 2010, 8:04:36 PM9/30/10
to Hoptoad Notifier Dev
rake hoptoad:test works fine.

however, none of my controller unhandled exceptions are being
notified.

I tried to do this in my Comment model and that doesn't work either. I
am using the free account.

Any ideas? I get no hints whatsoever from the logs or anywhere else.

def self.bad_meth
begin
sdfsdf.dfdsfdsf
rescue Exception => exp
HoptoadNotifier.notify(
:error_class => "Testing error",
:error_messge => exp
)
end
end

Nick Quaranto

unread,
Oct 1, 2010, 9:50:21 AM10/1/10
to hoptoad-no...@googlegroups.com
Can you post the output of `rake gems`, paste your config/environment.rb? Or if you're on rails 3, your Gemfile.


--
You received this message because you are subscribed to the Google Groups "Hoptoad Notifier Dev" group.
To post to this group, send email to hoptoad-no...@googlegroups.com.
To unsubscribe from this group, send email to hoptoad-notifier...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hoptoad-notifier-dev?hl=en.


Reply all
Reply to author
Forward
0 new messages