Exception Notifier

0 views
Skip to first unread message

tispratik

unread,
Nov 8, 2009, 3:38:16 PM11/8/09
to Saint Louis Ruby Users Group
Hi,

Does anyone know why the exception notifier plugin does not give the
line number of the code where the exception occured?

Example:

-------------------------------
Backtrace:
-------------------------------
[RAILS_ROOT]/app/controllers/users_controller.rb
C:/rubyonrails/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/
action_controller/base.rb
C:/rubyonrails/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/
action_controller/benchmarking.rb
C:/rubyonrails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/core_ext/benchmark.rb
C:/rubyonrails/ruby/lib/ruby/1.8/benchmark.rb

Thanks,
Pratik

Craig Buchek

unread,
Nov 9, 2009, 10:56:22 AM11/9/09
to Saint Louis Ruby Users Group
I don't think I've ever seen that. If I did, I didn't notice. What
version of Ruby are you using? I would think that the backtrace would
be generated by Ruby; Rails and the exception_notifier plugin would
not be likely to mess with the backtraces. Maybe it's a Windows thing.

Craig

tispratik

unread,
Nov 9, 2009, 11:44:08 AM11/9/09
to Saint Louis Ruby Users Group
Thanks for the reply Craig !

I think its probably the Ruby Interpreter settings.
Am using Ruby 1.8.7
Same happens in java too, line numbers are displayed depending on what
Compiler was used to compile the Java code.
Reply all
Reply to author
Forward
0 new messages