From 1425cc2975289319f81b03b810c6942440a0b984 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 2 May 2024 08:30:16 -0400 Subject: [PATCH] Update src/simplnx/DataStructure/DataMap.cpp Co-authored-by: Nathan Young --- src/simplnx/DataStructure/DataMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simplnx/DataStructure/DataMap.cpp b/src/simplnx/DataStructure/DataMap.cpp index a7dd017f1d..88c09558c0 100644 --- a/src/simplnx/DataStructure/DataMap.cpp +++ b/src/simplnx/DataStructure/DataMap.cpp @@ -32,7 +32,7 @@ DataMap DataMap::deepCopy(const DataPath& parentCopyPath) const const auto copy = dataObj->deepCopy(parentCopyPath.createChildPath(dataObj->getName())); if(copy == nullptr) { - throw std::runtime_error(fmt::format("A deep copy request for parent '{}' failed on child object '{}' ", parentCopyPath.toString(), dataObj->getName())); + 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())); } dataMap.m_Map[key] = copy; }