diff --git a/simgear/scene/model/SGReaderWriterXML.cxx b/simgear/scene/model/SGReaderWriterXML.cxx index e317aa63..6523a8d2 100644 --- a/simgear/scene/model/SGReaderWriterXML.cxx +++ b/simgear/scene/model/SGReaderWriterXML.cxx @@ -673,7 +673,7 @@ sgLoad3DModel_internal(const SGPath& path, if (submodelPath.isNull()) { SG_LOG(SG_IO, SG_DEV_ALERT, "Failed to load file: \"" << subPathStr << "\""); simgear::reportFailure(simgear::LoadFailure::NotFound, simgear::ErrorCode::XMLModelLoad, - "Couldn't find file for submodel:" + subPathStr, + "Couldn't find file for submodel '" + sub_props->getStringValue("name") + "': " + subPathStr, SGPath::fromUtf8(subPathStr)); continue; }