Unexpected Exception - And getErrors() returns correct JSON content

Hi, here is a fix to issue #69. I am not sure why git chose to re-write the whole file - I only changed line 93.