Skip to content

Commit

Permalink
Fix the comment: WebExeption -> WebException (#3633)
Browse files Browse the repository at this point in the history
(cherry picked from commit be73e36)
  • Loading branch information
nettsundere authored and russcam committed Apr 1, 2019
1 parent 61f5545 commit 59fcc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch.Net/Transport/Transport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private void HandleElasticsearchClientException(RequestData data, Exception clie
if (clientException != null && a.OriginalException == null)
a.OriginalException = clientException;
//On .NET Core the IConnection implementation throws exceptions on bad responses
//This causes it to behave differently to .NET FULL. We already wrapped the WebExeption
//This causes it to behave differently to .NET FULL. We already wrapped the WebException
//under ElasticsearchServerException and it exposes way more information as part of it's
//exception message e.g the the root cause of the server error body.
#if !DOTNETCORE
Expand Down

0 comments on commit 59fcc78

Please sign in to comment.