From: azakir Date: Wed, 13 Jan 2021 10:01:18 +0000 (+0100) Subject: maj TUI X-Git-Tag: V9_7_0a1~18^2~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d37a77ee95c9e1b494b35908468dd19388f67398;p=modules%2Fsmesh.git maj TUI --- diff --git a/src/SMESH_I/MG_ADAPT_i.cxx b/src/SMESH_I/MG_ADAPT_i.cxx index 1d41d8079..f0b510ccd 100644 --- a/src/SMESH_I/MG_ADAPT_i.cxx +++ b/src/SMESH_I/MG_ADAPT_i.cxx @@ -364,7 +364,16 @@ char* MG_ADAPT_i::getCommandToRun() CORBA::Long MG_ADAPT_i::compute() { errStr = ""; - CORBA::Long ret = myMgAdapt->compute(errStr); + CORBA::Long ret; + try + { + ret = myMgAdapt->compute(errStr); + } + catch (const std::exception& e) + { + std::cerr<