Merge pull request #6465 from aws-lumberyard-dev/scripting/catalog_load
Code maintenance, improved OnCatalogLoaded logic and track additions …
This commit is contained in:
@@ -24,11 +24,12 @@ namespace GraphCanvas
|
||||
}
|
||||
else
|
||||
{
|
||||
const AZStd::string& existingValue = translationDbItr->second;
|
||||
[[maybe_unused]] const AZStd::string& existingValue = translationDbItr->second;
|
||||
|
||||
// There is a name collision
|
||||
const AZStd::string error = AZStd::string::format("Unable to store key: %s with value: %s because that key already exists with value: %s (proposed: %s)", baseKey.c_str(), it.GetString(), existingValue.c_str(), it.GetString());
|
||||
AZ_Error("TranslationSerializer", false, error.c_str());
|
||||
AZ_Error("TranslationSerializer", existingValue == it.GetString(),
|
||||
R"(Unable to store key: "%s" with value: "%s" because that key already exists with value: "%s" (proposed: "%s"))",
|
||||
baseKey.c_str(), it.GetString(), existingValue.c_str(), it.GetString());
|
||||
}
|
||||
}
|
||||
else if (it.IsObject())
|
||||
|
||||
Reference in New Issue
Block a user