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

Use a promise and fail the future if the credentials file cannot be read #4

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

Conversation

genarorg
Copy link

I found a bug when using this method in which the future was never completing as failed if the credentials file were not present. I would actually refactor this to not use promises, and just return the Stream. But I didn't want to mess around too much with it as I know that this is still a wip.

@avillaflor
Copy link
Contributor

Are you calling this method specifically or as part of the chain?

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