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

Async options retrieval error is handled through this.error() #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ddolcimascolo
Copy link

Hi @vesse

I came accross this while working on LDAP auth for one of our products. Our use case is to query a DNS SRV record in order to obtain the address of the server. I definitely think that if the getOptions function errors out, the error should be propagated as such and not hidden as an authentication failure. The authentication did not happen yet.

WDYT ?

This would be a breaking change, though I'm unsure of the impact as most users should already handle errors fine anyway...

Thanks !
David

@ddolcimascolo
Copy link
Author

Ping @vesse

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.

1 participant