wit-ai / pywit

Python library for Wit.ai
Other
1.45k stars 359 forks source link

Update req method to support JSON errors #126

Closed 333444555 closed 3 years ago

333444555 commented 5 years ago

The removed piece of code raises an error with request code which disallows the client from giving you the error information in JSON. By removing this, it will raise an error with description, more efficient than ERROR 400.