diff --git a/ryzom/client/src/r2/editor.cpp b/ryzom/client/src/r2/editor.cpp index 28e789b61..fa98d3c3b 100644 --- a/ryzom/client/src/r2/editor.cpp +++ b/ryzom/client/src/r2/editor.cpp @@ -497,7 +497,7 @@ void CEditor::requestSetLocalNode(const std::string& instanceId, const std::stri CObject *src = _DMC->find(instanceId); if (!src) { - nlwarning("Can't find object with id %s", instanceId.c_str()); + nlwarning("Can't find object with id '%s' (setting attribute '%s')", instanceId.c_str(), attrName.c_str()); return; } if (!attrName.empty()) diff --git a/ryzom/common/src/game_share/scenario.cpp b/ryzom/common/src/game_share/scenario.cpp index 3782c45cf..88ff1480a 100644 --- a/ryzom/common/src/game_share/scenario.cpp +++ b/ryzom/common/src/game_share/scenario.cpp @@ -111,7 +111,7 @@ CObject *CScenario::find(const std::string& instanceId, const std::string & attr CObject *src = _InstanceMap->find(instanceId); if (!src) { - nlwarning("Can't find object with id %s", instanceId.c_str()); + nlwarning("Can't find object with id '%s' (looking for attribute '%s[%d]' or '...[%s]')", instanceId.c_str(), attrName.c_str(), (int)position, key.c_str()); return NULL; } if (!attrName.empty())