Skip to content
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

Merged
merged 4 commits into from
Aug 19, 2024
Merged

Conversation

preciz
Copy link
Contributor

@preciz preciz commented Aug 18, 2024

Thank you for reviewing.

@@ -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)}"}
Copy link
Member

@yordis yordis Aug 19, 2024

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 ...

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

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?

Copy link
Contributor Author

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

@yordis yordis merged commit 1dc2c7e into elixir-tesla:master Aug 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants