From 2fc208be45821386ce17958f8a7e28fc693e08f1 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Fri, 6 Dec 2024 18:33:16 +0100 Subject: [PATCH] misc: also log file in error in from_file --- mdto/mdto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdto/mdto.py b/mdto/mdto.py index e15685f..84c5986 100755 --- a/mdto/mdto.py +++ b/mdto/mdto.py @@ -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 : " + f"Unexpected first child <{object_type}> in {mdto_xml}: " "expected or ." )