Skip to content

Commit 549ea4e

Browse files
committed
update backtrace format
1 parent bc8bb51 commit 549ea4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spring/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def preload
9999
@preloaded = :success
100100
rescue Exception => e
101101
@preloaded = :failure
102-
watcher.add e.backtrace.map { |line| line.match(/^(.*)\:\d+\:in /)[1] }
102+
watcher.add e.backtrace.map { |line| line[/^(.*)\:\d+/, 1] }
103103
raise e unless initialized?
104104
ensure
105105
watcher.add loaded_application_features

0 commit comments

Comments
 (0)