Fix format and add error message to log. Contributes to CURA-5301

This commit is contained in:
Diego Prado Gesto 2018-04-26 15:49:18 +02:00
parent 3ae6b8c4c1
commit 27b1e2cdd6
2 changed files with 2 additions and 2 deletions

View File

@ -1354,7 +1354,7 @@ class CuraApplication(QtApplication):
try:
group_node = Selection.getAllSelectedObjects()[0]
except Exception as e:
Logger.log("d", "mergeSelected: Exception:", e)
Logger.log("d", "mergeSelected: Exception: %s", e)
return
meshes = [node.getMeshData() for node in group_node.getAllChildren() if node.getMeshData()]