mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-11 18:04:28 +00:00
Merge branch 'throw_with_more_info' into 'master'
show which file is not found See merge request OpenMW/openmw!3011
This commit is contained in:
commit
0270cfb733
1 changed files with 2 additions and 5 deletions
|
|
@ -585,11 +585,8 @@ namespace ESM4
|
||||||
if (it != fileToModIndex.end())
|
if (it != fileToModIndex.end())
|
||||||
mCtx.parentFileIndices[i] = it->second;
|
mCtx.parentFileIndices[i] = it->second;
|
||||||
else
|
else
|
||||||
throw std::runtime_error("ESM4::Reader::updateModIndices required dependency file not loaded");
|
throw std::runtime_error(
|
||||||
#if 0
|
"ESM4::Reader::updateModIndices required dependency '" + mHeader.mMaster[i].name + "' not found");
|
||||||
std::cout << "Master Mod: " << mCtx.header.mMaster[i].name << ", " // FIXME: debugging only
|
|
||||||
<< formIdToString(mCtx.parentFileIndices[i]) << std::endl;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue