From 483060cc90bc394de977a7f5471f6e056147dde1 Mon Sep 17 00:00:00 2001 From: Clemens Weissbacher Date: Wed, 26 Sep 2018 12:36:05 +0200 Subject: [PATCH] FEM: fix an error handling issue, caused by an non existing variable --- src/Mod/Fem/femmesh/gmshtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/femmesh/gmshtools.py b/src/Mod/Fem/femmesh/gmshtools.py index 6ce1a0ef4d..64bff127b1 100644 --- a/src/Mod/Fem/femmesh/gmshtools.py +++ b/src/Mod/Fem/femmesh/gmshtools.py @@ -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