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 fc09738579
commit 0c744f2517

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