We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
backtrace_locations
1 parent 046d50a commit 4af3707Copy full SHA for 4af3707
lib/spring/application.rb
@@ -320,6 +320,7 @@ def shush_backtraces
320
if $!
321
lib = File.expand_path("..", __FILE__)
322
$!.backtrace.reject! { |line| line.start_with?(lib) } unless $!.backtrace.frozen?
323
+ $!.backtrace_locations.reject! { |line| line.path&.start_with?(lib) } unless $!.backtrace_locations.frozen?
324
end
325
326
@@ -331,6 +332,7 @@ def shush_backtraces
331
332
333
334
335
336
337
338
0 commit comments