react-native-dialogflow
react-native-dialogflow copied to clipboard
Error handler for setConfiguration
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
Not sure why the authors of this package didn't add that initially. It is a must!
@adamsiwiec @PvanHengel did you find a way to handle errors for setConfiguration