From 882e43d1a2be8a043a5dce864775c16adf5735ca Mon Sep 17 00:00:00 2001 From: opsocket Date: Mon, 30 Jan 2023 18:48:54 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20validation=20exception=20m?= =?UTF-8?q?essage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/json-validator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json-validator.cpp b/src/json-validator.cpp index 3ffd087..d2e43e8 100644 --- a/src/json-validator.cpp +++ b/src/json-validator.cpp @@ -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); } };