Add mod ids to logged removed keys of ModInfo

This commit is contained in:
altalk23 2023-08-04 01:18:46 +03:00
parent b0d72b0c79
commit fc72c24e2e

View file

@ -101,12 +101,12 @@ Result<ModInfo> ModInfo::Impl::createFromSchemaV010(ModJson const& rawJson) {
// removed keys
if (root.has("datastore")) {
log::error(
"[mod.json].datastore has been deprecated "
"and removed. Use Saved Values instead (see TODO: DOCS LINK)"
"{}: [mod.json].datastore has been deprecated "
"and removed. Use Saved Values instead (see TODO: DOCS LINK)", impl->m_id
);
}
if (root.has("binary")) {
log::error("[mod.json].binary has been deprecated and removed.");
log::error("{}: [mod.json].binary has been deprecated and removed.", impl->m_id);
}
if (checker.isError()) {