You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backtrace and backtrace_locations become out of sync, and only when running in Spring.
It breaks the downstream behaviour of ActiveSupport::ErrorReporter, whose #report method will clean itself off the top of the stack. Since the top of the stack will be these 2 Spring frames, its logic won't remove any of the frames.
The
Spring::Application#shush_backtraces
method strips out Spring stackframes from the exception'sbacktrace
, but not itsbacktrace_locations
:spring/lib/spring/application.rb
Line 322 in 046d50a
This causes at least 2 issues:
backtrace
andbacktrace_locations
become out of sync, and only when running in Spring.ActiveSupport::ErrorReporter
, whose#report
method will clean itself off the top of the stack. Since the top of the stack will be these 2 Spring frames, its logic won't remove any of the frames.Example
Output (truncated):
The text was updated successfully, but these errors were encountered: