For some reason one of my cucumber tests seem to fail both on the poltergeist driver and from the rails server.
I am getting a full trace on the browser crash but almost nothing on the server side.
When I open the Capybara screenshot I just see
Internal Server Error undefined method
name
for nil:NilClass
When I tail the test.log
Completed 500 Internal Server Error in 0ms (Elasticsearch: 0.0ms)
(And no trace)
I have tried
- to set
config.action_dispatch.show_exceptions = true
- the
b
flag (but it's only showing the detailed trace for the Capybara error - (my config level is set to :debug already in my environment file)
How can I get the full backtrace on the server side ?
EDIT
- Capybara 2.13.0
- Rails 5.0.2
- everything commented in backtrace_silencers
config/initializers/backtrace_silencers.rb
) or perhaps this might be some log flushing issue? What Rails version are we talking about? – Matouš Borák