-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typos and improve language #705
Conversation
Fixed SEARCH/REPLACE block for `lib/tesla/middleware/path_params.ex
Outdated
Show resolved
Hide resolved
lib/tesla/adapter/mint.ex
Outdated
@@ -315,7 +315,7 @@ if Code.ensure_loaded?(Mint.HTTP) do | |||
|
|||
{:error, _conn, error, _res} -> | |||
if opts[:close_conn], do: {:ok, _conn} = close(conn) | |||
{:error, "Encounter Mint error #{inspect(error)}"} | |||
{:error, "Encountered Mint error #{inspect(error)}"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unsure if we should change the error, even when it is a misspelling; I am uncertain who would rely on it ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good thinking, I would fix it sooner than later given probably the number of people relying on pattern matching this error message is probably close to 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind adding a TODO comment to change when we decide to break change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good idea, done that
Thank you for reviewing.