Merge pull request #384 from EvinceMoi/master

json_reader throwRuntimeError return error details
This commit is contained in:
Christopher Dunn 2015-10-27 15:48:05 -05:00
commit 0cce773019

View File

@ -2024,7 +2024,7 @@ std::istream& operator>>(std::istream& sin, Value& root) {
"Error from reader: %s", "Error from reader: %s",
errs.c_str()); errs.c_str());
throwRuntimeError("reader error"); throwRuntimeError(errs);
} }
return sin; return sin;
} }