Skip to content

Commit

Permalink
misc: also log file in error in from_file
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 6, 2024
1 parent 3a89373 commit 2fc208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdto/mdto.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,6 @@ def elem_to_mdto(elem: ET.Element, mdto_class: classmethod, mdto_xml_parsers: di
return parse_bestand(children)
else:
raise ValueError(
f"Unexpected first child <{object_type}> in <MDTO>: "
f"Unexpected first child <{object_type}> in {mdto_xml}: "
"expected <informatieobject> or <bestand>."
)

0 comments on commit 2fc208b

Please sign in to comment.