Skip to content
Snippets Groups Projects
Commit 2d83ba27 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

DOC: better error message

parent d86b0bbc
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51705 failed
......@@ -101,9 +101,10 @@ class SyncNode:
):
raise ValueError(
"The SyncNode that is used with update must have an equivalent"
f" identifiable. The identifiables where:\n"
f"{self.identifiable.get_representation()}\n"
f"and\n{other.identifiable.get_representation()}."
f" identifiable. I.e. you cannot merge entities with differing identifiables"
"The identifiables where:\n"
f"{Identifiable._create_hashable_string(self)}\n"
f"and\n{Identifiable._create_hashable_string(other)}."
)
if other.identifiable:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment