fix exception handling in _ViewProviderFemResultMechanical

This commit is contained in:
wmayer
2019-09-28 17:06:47 +02:00
parent f16c265f00
commit 375a3d4d34

View File

@@ -112,7 +112,7 @@ class _ViewProviderFemResultMechanical:
for obj in self.claimChildren():
obj.ViewObject.show()
except Exception as err:
FreeCAD.Console.PrintError("Error in onDelete: " + err.message)
FreeCAD.Console.PrintError("Error in onDelete: {0} \n".format(err))
return True