On Mar 23, 2010, at 8:35 AM, adamski wrote:

I'm having an issue since upgrading our app to Rails 2.3.5 and Hobo
1.0

My error messages are now not very descriptive... I.e. not getting
much of a stack trace (production or development mode).

e.g.:

NameError (undefined local variable or method `filters_lines' for
#<RequirementsController:0x74f45dc>):
 hobo (1.0.0) lib/hobo/controller.rb:23:in `call'
 hobo (1.0.0) lib/hobo/controller.rb:23:in `included_in_class'
 passenger (2.2.9) lib/phusion_passenger/rack/request_handler.rb:
92:in `process_request'
 passenger (2.2.9) lib/phusion_passenger/abstract_request_handler.rb:
207:in `main_loop'
 passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:
400:in `start_request_handler'
 passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:
351:in `handle_spawn_application'
 .....

Seems like Hobo might be hiding lines from the stack trace?


I think *Rails* is doing a lot of the reformatting / hiding here; check out BacktraceCleaner for details. This instance isn't helped by the fact that the error is inside an around_filter block (Hobo sets it up to stash the current controller). Can you find any suspicious uses of filters_lines in RequirementsController?

--Matt Jones

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to