diff --git a/dotnet/src/webdriver/WebDriver.cs b/dotnet/src/webdriver/WebDriver.cs index 57d1a2bab91fc..859858ba0ec53 100644 --- a/dotnet/src/webdriver/WebDriver.cs +++ b/dotnet/src/webdriver/WebDriver.cs @@ -612,20 +612,7 @@ protected virtual async Task ExecuteAsync(string driverCommandToExecut { Command commandToExecute = new Command(SessionId, driverCommandToExecute, parameters); - Response commandResponse; - - try - { - commandResponse = await this.executor.ExecuteAsync(commandToExecute).ConfigureAwait(false); - } - catch (System.Net.Http.HttpRequestException e) - { - commandResponse = new Response - { - Status = WebDriverResult.UnknownError, - Value = e - }; - } + Response commandResponse = await this.executor.ExecuteAsync(commandToExecute).ConfigureAwait(false); if (commandResponse.Status != WebDriverResult.Success) {