Closed damianchoc closed 6 years ago
Hi :-) This is the intended behavior. You can try to catch the exception to avoid stopping the program. See how to use try/except in Python. You can also see a more detailed error message with something similar to:
try:
# call to Wit
except Exception as e:
print(e)
Hope this helps!
@blandinw oh ok, it works :) thanks for the answer!
Hi. When i use wit.speech() with *.wav where i didn't say anything, it responds wit.wit.WitError: Wit responden with status: 400 (Bad Request) and program stops.. what can i do with that?