🐛 fix validation exception message

This commit is contained in:
opsocket 2023-01-30 18:48:54 -05:00
parent 4f67636760
commit 882e43d1a2

View File

@ -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);
}
};