Stephen Bannasch
2011-Sep-14 03:49 UTC
how can I get the stack trace for a 500 error to show up in test.log?
I''m driving a rails 3.0.10 app with capaybara/seleinium and when I get a 500 error I can''t get the stack trace to appear in log/test.log All I see is the following: Rendered resource_pages/show.html.haml within layouts/application (15.2ms) Completed 500 Internal Server Error in 250ms When I put a debugger statement in the view I found what was causing the error: nil.html_safe and tracing a bit further I find @original_exception.backtrace with all the info I want displayed ... but it doesn''t get rendered to the log. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.