Closed vanatteveldt closed 10 years ago
By the way, any word on #5 ? It occurs quite frequently, I am guessing 1 in 20 sentences or so, so it would be great if it could be fixed
(the second commit isn't strictly necessary, but it makes it a bit more legible and made it easier to add an interactive mode)
Currently, the socketserver simply does not respond if parseSentence throws an error, causing netcat / the client to hang.
Proposed change returns a simple {"error":} json to signal that there is a problem.