From 1daebe193689ae441ac005ca5e0d89e7f52bae38 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Thu, 9 Nov 2023 09:28:49 +0300 Subject: [PATCH] chore: fix linter warnings --- lib/ferrum/browser.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ferrum/browser.rb b/lib/ferrum/browser.rb index 364b0fa4..646f8af4 100644 --- a/lib/ferrum/browser.rb +++ b/lib/ferrum/browser.rb @@ -278,13 +278,12 @@ def start begin @process.start @client = Client.new( - @process.ws_url, - self, + @process.ws_url, self, logger: options.logger, ws_max_receive_size: options.ws_max_receive_size ) @contexts = Contexts.new(self) - rescue + rescue StandardError @process.stop raise end