We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc8bb51 + 549ea4e commit 8751342Copy full SHA for 8751342
lib/spring/application.rb
@@ -99,7 +99,7 @@ def preload
99
@preloaded = :success
100
rescue Exception => e
101
@preloaded = :failure
102
- watcher.add e.backtrace.map { |line| line.match(/^(.*)\:\d+\:in /)[1] }
+ watcher.add e.backtrace.map { |line| line[/^(.*)\:\d+/, 1] }
103
raise e unless initialized?
104
ensure
105
watcher.add loaded_application_features
0 commit comments