mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Still raise exception when loading incorrect material file
This commit is contained in:
parent
c13b77d8a1
commit
ddc9da63b8
1 changed files with 1 additions and 2 deletions
|
@ -540,8 +540,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
|
||||
validation_message = XmlMaterialValidator.validateMaterialMetaData(meta_data)
|
||||
if validation_message is not None:
|
||||
return
|
||||
# raise Exception("Not valid material profile: %s" % (validation_message))
|
||||
raise Exception("Not valid material profile: %s" % (validation_message))
|
||||
|
||||
property_values = {}
|
||||
properties = data.iterfind("./um:properties/*", self.__namespaces)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue