summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2021-02-03 13:51:40 +0100
committerJan Holesovsky <kendy@collabora.com>2021-02-03 16:16:08 +0100
commit2abb1ae8e6c95449779201917eb7ae0ddb736432 (patch)
treea048c30af3724a7206135e45a183e1e4972f64da
parentUpdate UNO command translations (Run Macro) (diff)
downloadonline-private/kendy/distro/collabora/co-6-4.tar.gz
online-private/kendy/distro/collabora/co-6-4.zip
CheckFileInfo: Report mis-spelled CheckFileInfo properties as errors. private/kendy/distro/collabora/co-6-4
To be able to locate them in the logs more easily; this is likely to catch mistakes early in the development of new integrations. Change-Id: I11c528d11e4a4e1d13f8d32085fa1bf1a163b779 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--common/JsonUtil.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/JsonUtil.hpp b/common/JsonUtil.hpp
index c1bdce8b16..0b76bd011e 100644
--- a/common/JsonUtil.hpp
+++ b/common/JsonUtil.hpp
@@ -115,7 +115,7 @@ bool findJSONValue(Poco::JSON::Object::Ptr &object, const std::string& key, T& v
continue; // Not even close, keep searching.
// We found something with some differences--warn and return.
- LOG_WRN("Incorrect JSON property [" << userInput << "]. Did you mean [" << key <<
+ LOG_ERR("Incorrect JSON property [" << userInput << "]. Did you mean [" << key <<
"] ? (Levenshtein distance: " << levDist << ')');
// Fail without exact match.