Add pack.ini file paths to error messages

This commit is contained in:
teejusb
2025-05-17 14:07:45 -07:00
parent 995f0ea8c1
commit c18e7a68ae
+2 -2
View File
@@ -123,13 +123,13 @@ Group::Group(const RString& sDir, const RString& sGroupDirName, bool bFromProfil
m_fSyncOffset = -0.009f;
}
else {
LOG->Warn("Group::Group: Invalid SyncOffset value: %s in Pack.ini. Valid values are NULL and ITG. Using default value.", sValue.c_str());
LOG->Warn("Group::Group: Invalid SyncOffset value: %s in Pack.ini file \"%s\". Valid values are NULL and ITG. Using default value.", sValue.c_str(), sPackIniPath.c_str());
}
}
ini.GetValue("Group", "Year", m_iYearReleased);
} else {
LOG->Warn("Group::Group: Pack.ini version not set. Using default values.");
LOG->Warn("Group::Group: Pack.ini version not set in file \"%s\". Using default values.", sPackIniPath.c_str());
}
}
}