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