Skip to content

Commit e15f583

Browse files
Update src/simplnx/DataStructure/DataMap.cpp
Co-authored-by: Nathan Young <[email protected]>
1 parent 1e9f5ab commit e15f583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/simplnx/DataStructure/DataMap.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ DataMap DataMap::deepCopy(const DataPath& parentCopyPath) const
3232
const auto copy = dataObj->deepCopy(parentCopyPath.createChildPath(dataObj->getName()));
3333
if(copy == nullptr)
3434
{
35-
throw std::runtime_error(fmt::format("A deep copy request for parent '{}' failed on child object '{}' ", parentCopyPath.toString(), dataObj->getName()));
35+
throw std::runtime_error(
36+
fmt::format("{}({}): Function {}: A deep copy request for parent '{}' failed on child object '{}'", __FILE__, __LINE__, "DataMap::DeepCopy", parentCopyPath.toString(), dataObj->getName()));
3637
}
3738
dataMap.m_Map[key] = copy;
3839
}

0 commit comments

Comments
 (0)