diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index 3a9b8819b2f16ae7b6b2dc4ff06d94055da14d60..d95112ee1aec6ca1526c96421a8052282b6ef9a7 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -236,10 +236,11 @@ startswith: bool, optional refs.extend(referencing_entities[rtname]) found = True if not found: - raise NotImplementedError( + raise RuntimeError( f"Could not find referencing entities of type(s): {prop.value}\n" f"for registered identifiable:\n{registered_identifiable}\n" - f"There were {len(referencing_entities)} referencing entities to choose from." + f"There were {len(referencing_entities)} referencing entities to choose from.\n" + f"This error can also occur in case of merge conflicts in the referencing entities." ) return refs