Skip to content

Commit c9c2cf3

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simplnx/DataStructure/DataMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ 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(fmt::format("{}({}): Function {}: A deep copy request for parent '{}' failed on child object '{}'", __FILE__, __LINE__, "DataMap::DeepCopy", parentCopyPath.toString(), dataObj->getName()));
3636
}
3737
dataMap.m_Map[key] = copy;
3838
}

0 commit comments

Comments
 (0)