Merge pull request #21504 from jmchilton/fix_hda_exception_message

[25.1] Fix exception message to enable debugging of missing dataset issue.
This commit is contained in:
John Chilton
2025-12-22 14:19:17 -05:00
committed by GitHub
+1 -1
View File
@@ -7414,7 +7414,7 @@ class DatasetCollection(Base, Dictifiable, UsesAnnotations, Serializable):
flush=False, element_destination=history
)
else:
raise ValueError("Cannot replace {type(replacement.element_object)}")
raise ValueError(f"Cannot replace {type(replacement.element_object)}")
def replace_failed_elements(self, replacements):
stmt = self._build_nested_collection_attributes_stmt(