Skip to content
Snippets Groups Projects
Verified Commit 43651150 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

ENH: More logging.

parent c8242836
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!171sav/spss converter
......@@ -252,6 +252,8 @@ startswith: bool, optional
if pname == "name" or pname == "is_referenced_by":
continue
if record.get_property(prop.name) is None:
logger.error(f"Record with missing identifying property:\n{record}\n"
f"This property is missing: {prop.name}\n")
raise RuntimeError("Missing identifying Property")
pval = record.get_property(prop.name).value
if not isinstance(prop.value, list):
......
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