Skip to content

Commit

Permalink
Remove redundant rescue in runner client (#528)
Browse files Browse the repository at this point in the history
Remove redundant rescue
  • Loading branch information
andyw8 authored Nov 19, 2024
1 parent 3c51a95 commit 106c397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lsp/ruby_lsp_rails/runner_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_client(outgoing_queue)

NullClient.new
end
rescue Errno::ENOENT, StandardError => e # rubocop:disable Lint/ShadowedException
rescue StandardError => e
unless outgoing_queue.closed?
outgoing_queue << RubyLsp::Notification.window_log_message(
<<~MESSAGE.chomp,
Expand Down

0 comments on commit 106c397

Please sign in to comment.