Fixed a bug with parsing the error on compile and passing its info back to the document