Skip to content

Commit

Permalink
fix exception handling in _ViewProviderFemResultMechanical
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 28, 2019
1 parent 6b6c0a5 commit fb7a03a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -112,7 +112,7 @@ def onDelete(self, feature, subelements):
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


Expand Down

0 comments on commit fb7a03a

Please sign in to comment.