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

Adding error handling #277

Conversation

earv1
Copy link
Contributor

@earv1 earv1 commented Apr 28, 2020

I couldn't find any contribution guides, but I thought a good as place as any is to just create a commit and see what happens.

I was running into an issue where I was providing an incorrect parameter for map_key_algorithm. But I kept getting an error saying that the algorithm wasn't supported.

lib/joken/signer.ex Outdated Show resolved Hide resolved
@victorolinasc
Copy link
Collaborator

Hi @earv1 ! Thanks for your contribution!

I've added a comment and then we're good to go :)

Prefix unused variables with underscores

Co-Authored-By: Victor Oliveira Nascimento <[email protected]>
@earv1
Copy link
Contributor Author

earv1 commented Apr 28, 2020

Fixed, thanks for the feedback!

lib/joken/error.ex Outdated Show resolved Hide resolved
@victorolinasc
Copy link
Collaborator

Sorry... left another one about phrasing it better. What do you think?

Fix phrasing

Co-Authored-By: Victor Oliveira Nascimento <[email protected]>
@earv1
Copy link
Contributor Author

earv1 commented Apr 28, 2020

That does make a lot more sense. I committed it.

@victorolinasc
Copy link
Collaborator

It ended up duplicating the inspect Oo.

@earv1
Copy link
Contributor Author

earv1 commented Apr 28, 2020

Ah, I'm a bit of a noob when it comes to elixir. What tool are you using, maybe I can check on my side.

lib/joken/error.ex Outdated Show resolved Hide resolved
Co-Authored-By: Victor Oliveira Nascimento <[email protected]>
Copy link
Collaborator

@victorolinasc victorolinasc left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your work!

@victorolinasc victorolinasc merged commit bb1f46a into joken-elixir:master Apr 28, 2020
@victorolinasc victorolinasc mentioned this pull request Sep 27, 2020
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