Skip to content
Snippets Groups Projects
Commit 4044ac18 authored by florian's avatar florian
Browse files

DRAFT: Add fix for weird PANGAEA crawler issue

parent b0abb362
No related branches found
No related tags found
3 merge requests!160STY: styling,!141FIX: Resolve referneces to existing entities correctly,!140New f fix merge
Pipeline #40522 failed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment