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

Error handler for setConfiguration #66

Open
PvanHengel opened this issue Jun 11, 2019 · 2 comments
Open

Error handler for setConfiguration #66

PvanHengel opened this issue Jun 11, 2019 · 2 comments

Comments

@PvanHengel
Copy link

Hi,

It seems that if you call the setConfiguration method there is no easy way to capture errors such as network down or authentication issues. There should be a promise or callback or some way of checking if there is an error. Errors don’t bubble up either so we aren’t unable to wrap in a try catch block they simply write out to console.error

Thoughts?
Peter

@adamsiwiec
Copy link

Not sure why the authors of this package didn't add that initially. It is a must!

@asadadams
Copy link

@adamsiwiec @PvanHengel did you find a way to handle errors for setConfiguration

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

No branches or pull requests

3 participants