aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 1fb12dc0d..098753555 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -739,7 +739,7 @@ void ConfigReaderThread::OnStop()
}
catch (const CoreException& modex)
{
- ServerInstance->Logs.Error("MODULE", "Unable to read the configuration for {}: {}",
+ ServerInstance->Logs.Critical("MODULE", "Unable to read the configuration for {}: {}",
mod->ModuleSourceFile, modex.what());
if (user)
user->WriteNotice(modname + ": " + modex.GetReason());
@@ -756,7 +756,7 @@ void ConfigReaderThread::OnStop()
}
catch (const CoreException& ex)
{
- ServerInstance->Logs.Error("LOG", "Cannot open log files: " + ex.GetReason());
+ ServerInstance->Logs.Critical("LOG", "Cannot open log files: " + ex.GetReason());
if (user)
user->WriteNotice("Cannot open log files: " + ex.GetReason());
}