🐛 fix validation exception message
This commit is contained in:
parent
4f67636760
commit
882e43d1a2
@ -1327,7 +1327,7 @@ class throwing_error_handler : public error_handler
|
||||
{
|
||||
void error(const json::json_pointer &ptr, const json &instance, const std::string &message) override
|
||||
{
|
||||
throw std::invalid_argument(std::string("At ") + ptr.to_string() + " of " + instance.dump() + " - " + message + "\n");
|
||||
throw std::invalid_argument(std::string("at ") + ptr.to_string() + " of " + instance.dump() + " - " + message);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user