ソースを参照

Print out the invalid subaction that was found

Yentl Van Tendeloo 7 年 前
コミット
e3b2477901
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/python_sccd/python_sccd_compiler/sccd_constructs.py

+ 1 - 1
src/python_sccd/python_sccd_compiler/sccd_constructs.py

@@ -212,7 +212,7 @@ class SubAction(Visitable):
             tag = xml_element.tag.lower()
             if subcls.check(tag):
                 return subcls(xml_element)
-        raise CompilerException("Invalid subaction.")
+        raise CompilerException("Invalid subaction: " + str(xml_element.tag.lower()))
     
 ##################################
 """