Skip to content

Commit c7b2acf

Browse files
committed
Improve diagnostics for situations where Rails fails to boot
1 parent c5ea922 commit c7b2acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_lsp/ruby_lsp_rails/runner_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def initialize(outgoing_queue)
109109
end,
110110
Thread,
111111
)
112-
rescue Errno::EPIPE, IncompleteMessageError
112+
rescue StandardError
113113
raise InitializationError, @stderr.read
114114
end
115115

0 commit comments

Comments
 (0)