This commit is contained in:
azakir 2021-01-13 11:01:18 +01:00
parent 214e994c0c
commit d37a77ee95

View File

@ -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<<e.what();
ret = -1;
}
//~errStr = err.c_str();
return ret;
}