mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-10 17:54:00 +02: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",
|
"Error from reader: %s",
|
||||||
errs.c_str());
|
errs.c_str());
|
||||||
|
|
||||||
throwRuntimeError("reader error");
|
throwRuntimeError(errs);
|
||||||
}
|
}
|
||||||
return sin;
|
return sin;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user