FEM: fix an error handling issue, caused by an non existing variable

This commit is contained in:
Clemens Weissbacher
2018-09-26 12:36:05 +02:00
committed by wmayer
parent 84ad999c3b
commit 483060cc90

View File

@@ -576,7 +576,7 @@ class GmshTools():
# print(output) # stdout is still cut at some point but the warnings are in stderr and thus printed :-)
# print(error)
except:
error = 'Error executing: {}\n'.format(self.gmsh_command)
error = 'Error executing: {}\n'.format(" ".join(comandlist))
FreeCAD.Console.PrintError(error)
self.error = True
return error