From e24d0727dd7807e83b83ef939bcdd13466c6190b Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Thu, 6 Jun 2024 15:29:31 +0200
Subject: [PATCH] FIX: Use correct identifiable in error message

---
 src/caoscrawler/sync_node.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/caoscrawler/sync_node.py b/src/caoscrawler/sync_node.py
index fa9526e6..f2fa000b 100644
--- a/src/caoscrawler/sync_node.py
+++ b/src/caoscrawler/sync_node.py
@@ -103,8 +103,8 @@ class SyncNode:
                     "The SyncNode that is used with update must have an equivalent"
                     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)}."
+                    f"{self.identifiable._create_hashable_string(self.identifiable)}\n"
+                    f"and\n{other.identifiable._create_hashable_string(other.identifiable)}."
                 )
 
         if other.identifiable:
-- 
GitLab