From abbf44a6e3dc714f8f225757617cf57f749baf36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Wed, 24 Apr 2024 06:43:16 +0200 Subject: [PATCH] wip --- src/caoscrawler/identifiable_adapters.py | 3 ++- src/caoscrawler/sync_node.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index 13ff9b1c..5419eb8b 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -352,7 +352,8 @@ startswith: bool, optional properties=identifiable_props, backrefs=[e.id for e in identifiable_backrefs] ) - except Exception: + except Exception as exc: + logger.error(exc) logger.error(f"Error while creating identifiable for this record:\n{se}") raise diff --git a/src/caoscrawler/sync_node.py b/src/caoscrawler/sync_node.py index 3ccff28d..492839a9 100644 --- a/src/caoscrawler/sync_node.py +++ b/src/caoscrawler/sync_node.py @@ -113,6 +113,7 @@ class SyncNode(): f"Problematic Property: {p.name}\n" f"First value:\n{ent.get_property(p).value}\n" f"Second value:\n{p.value}\n" + f"{self}" ) ime = ImpossibleMergeError("Cannot merge Entities") ime.pname = p.name -- GitLab