Commits

Marcin Grzejszczak committed adc5b35

[Mappings] Added check for missing property

  • Participants
  • Parent commits 69f4b59

Comments (0)

Files changed (1)

File Groovy/Mappings/src/main/resources/groovy/AbstractGroovyXmlTransformer.groovy

     abstract void doTransform(inputXml, outputXml)
 
     def propertyMissing(String name) {
-        MISSING_PROPERTIES[name]
+        Object property = MISSING_PROPERTIES[name]
+        assert property != null, "There is no function like [$name]. The ones that are supported are ${MISSING_PROPERTIES.keySet()}"
+        property
     }