diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index 97393ef3a18be594690bba48f4d29e67e2c6193b..56a7d8ca4b27d6e6bad0bce17810472f1cb4bf75 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -644,7 +644,14 @@ class Crawler(object): resolved_references = True for record in flat: - self.replace_references_with_cached(record, referencing_entities) + try: + self.replace_references_with_cached(record, referencing_entities) + except RuntimeError as re: + # TODO: This resolves + # https://gitlab.indiscale.com/caosdb/customers/leibniz-zmt/management/-/issues/258, + # but why? + print(f"{record=}\n") + continue if len(flat) > 0: circle = self.detect_circular_dependency(flat)