You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your great API. It works perfectly!
But! If I set a wrong API key or no API key there is an exception thrown in the http thread...
Exception in thread "Downstream Thread"
java.lang.NullPointerException
com.darkprograms.speech.recognizer.GSpeechDuplex$1.run(GSpeechDuplex.java:197)
Can you enable a possibility to catch it via callback for example?
The text was updated successfully, but these errors were encountered:
Hmm, I see. I really do need to fix that. When I wrote that class, I knew next to nothing about multithreading. That is definitely on my long list of things to do.
There is even an if statement that I added awaiting an implementation of that feature. If you are willing to add the callback, I will gladly merge it in.
Skylion007
changed the title
API key wrong?
Add authentication failure callback
Aug 13, 2015
Thanks for your great API. It works perfectly!
But! If I set a wrong API key or no API key there is an exception thrown in the http thread...
Exception in thread "Downstream Thread"
java.lang.NullPointerException
com.darkprograms.speech.recognizer.GSpeechDuplex$1.run(GSpeechDuplex.java:197)
Can you enable a possibility to catch it via callback for example?
The text was updated successfully, but these errors were encountered: