summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 0778d2101..f78bd4e50 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -29,6 +29,7 @@
#include "listeners/configlistener.h"
+#include "utils/checkutils.h"
#include "utils/delete2.h"
#ifdef DEBUG_CONFIG
#include "utils/stringmap.h"
@@ -859,8 +860,8 @@ void Configuration::write()
FILE *const testFile = fopen(mConfigPath.c_str(), "w");
if (!testFile)
{
- logger->log("Configuration::write() couldn't open %s for writing",
- mConfigPath.c_str());
+ reportAlways("Configuration::write() couldn't open %s for writing",
+ mConfigPath.c_str());
BLOCK_END("Configuration::write")
return;
}