Skip to content

Commit 0cce773

Browse files
committed
Merge pull request open-source-parsers#384 from EvinceMoi/master
json_reader throwRuntimeError return error details
2 parents 34bdbb5 + 6b10ce8 commit 0cce773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ std::istream& operator>>(std::istream& sin, Value& root) {
20242024
"Error from reader: %s",
20252025
errs.c_str());
20262026

2027-
throwRuntimeError("reader error");
2027+
throwRuntimeError(errs);
20282028
}
20292029
return sin;
20302030
}

0 commit comments

Comments
 (0)