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
+3 -3
View File
@@ -123,14 +123,14 @@ Group::Group(const RString& sDir, const RString& sGroupDirName, bool bFromProfil
m_fSyncOffset = -0.009f; m_fSyncOffset = -0.009f;
} }
else { 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); ini.GetValue("Group", "Year", m_iYearReleased);
} else { } 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());
} }
} }
} }