Commit 73d14769 authored by René Paris's avatar René Paris
Browse files

Merge remote-tracking branch 'origin/use-correct-log-label' into develop

parents 5a7d79f1 e787da95
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -249,6 +249,12 @@ xmlDocPtr SystemConfigImporter::ImportSystemConfigContent(const std::string& fil
{
  xmlInitParser();

  if (!std::filesystem::exists(filename))
  {
    LOG_INTERN(LogLevel::Info) << filename + " does not exist";
    return nullptr;
  }

  xmlDocPtr document
      = xmlReadFile(filename.c_str(),
                    NULL,  // NOLINT(modernize-use-nullptr)
@@ -466,7 +472,7 @@ bool SystemConfigImporter::Import(const std::string& filename,
  }
  catch (const std::runtime_error& e)
  {
    LOG_INTERN(LogLevel::Error) << "SystemConfig import failed: " + std::string(e.what());
    LOG_INTERN(LogLevel::Info) << "SystemConfig import failed: " + std::string(e.what());
    return false;
  }
}