From 63de3d28f5df5aadddcd4a926cc79ebae27ddd2b Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 31 Aug 2017 22:01:50 +0300
Subject: Replace log asserts to report asserts in configuration.cpp

---
 src/configuration.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/configuration.cpp b/src/configuration.cpp
index 26c219255..94fa433f5 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -440,7 +440,7 @@ int Configuration::getIntValue(const std::string &key) const
         }
         else
         {
-            logger->assertLog(
+            reportAlways(
                 "%s: No integer value in registry for key %s",
                 mConfigPath.c_str(),
                 key.c_str());
@@ -467,7 +467,7 @@ int Configuration::resetIntValue(const std::string &key)
     }
     else
     {
-        logger->assertLog("%s: No integer value in registry for key %s",
+        reportAlways("%s: No integer value in registry for key %s",
             mConfigPath.c_str(),
             key.c_str());
     }
@@ -516,7 +516,7 @@ std::string Configuration::getStringValue(const std::string &key) const
         }
         else
         {
-            logger->assertLog("%s: No string value in registry for key %s",
+            reportAlways("%s: No string value in registry for key %s",
                 mConfigPath.c_str(),
                 key.c_str());
         }
@@ -572,7 +572,7 @@ float Configuration::getFloatValue(const std::string &key) const
         }
         else
         {
-            logger->assertLog("%s: No float value in registry for key %s",
+            reportAlways("%s: No float value in registry for key %s",
                 mConfigPath.c_str(),
                 key.c_str());
         }
@@ -639,7 +639,7 @@ bool Configuration::getBoolValue(const std::string &key) const
         }
         else
         {
-            logger->assertLog(
+            reportAlways(
                 "%s: No boolean value in registry for key %s",
                 mConfigPath.c_str(),
                 key.c_str());
@@ -668,7 +668,7 @@ bool Configuration::resetBoolValue(const std::string &key)
     }
     else
     {
-        logger->assertLog("%s: No boolean value in registry for key %s",
+        reportAlways("%s: No boolean value in registry for key %s",
             mConfigPath.c_str(),
             key.c_str());
     }
-- 
cgit v1.2.3-70-g09d2