mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-15 02:17:55 +08:00
Merge pull request #384 from EvinceMoi/master
json_reader throwRuntimeError return error details
This commit is contained in:
commit
0cce773019
@ -2024,7 +2024,7 @@ std::istream& operator>>(std::istream& sin, Value& root) {
|
||||
"Error from reader: %s",
|
||||
errs.c_str());
|
||||
|
||||
throwRuntimeError("reader error");
|
||||
throwRuntimeError(errs);
|
||||
}
|
||||
return sin;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user