Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6999133
)
Help to debug when troubles at launch time
author
Anthony Geay
<anthony.geay@edf.fr>
Thu, 21 Mar 2024 13:40:39 +0000
(14:40 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Thu, 21 Mar 2024 13:40:39 +0000
(14:40 +0100)
src/runtime/SalomeContainerTools.cxx
patch
|
blob
|
history
diff --git
a/src/runtime/SalomeContainerTools.cxx
b/src/runtime/SalomeContainerTools.cxx
index 4a2a4427b07bead9abc25ce545badc0668e7822f..51422d3685e068b64445a3181da772371d2adb44 100644
(file)
--- a/
src/runtime/SalomeContainerTools.cxx
+++ b/
src/runtime/SalomeContainerTools.cxx
@@
-421,16
+421,23
@@
void SalomeContainerToolsBase::Start(const std::vector<std::string>& compoNames,
DEBUG_YACSTRACE("SalomeContainer::start :" << str << " :CORBA Comm failure detected. Make another try!");
nbTries++;
if(nbTries > 5)
DEBUG_YACSTRACE("SalomeContainer::start :" << str << " :CORBA Comm failure detected. Make another try!");
nbTries++;
if(nbTries > 5)
- throw Exception("SalomeContainer::start : Unable to launch container in Salome : CORBA Comm failure detected");
+ {
+ std::ostringstream oss; oss << "SalomeContainer::start : Unable to launch container " << myparams.container_name << " in Salome : CORBA Comm failure detected";
+ throw Exception( oss.str() );
+ }
}
catch(CORBA::Exception&)
{
}
catch(CORBA::Exception&)
{
- throw Exception("SalomeContainer::start : Unable to launch container in Salome : Unexpected CORBA failure detected");
+ std::ostringstream oss; oss << "SalomeContainer::start : Unable to launch container " << myparams.container_name << " in Salome : Unexpected CORBA failure detected";
+ throw Exception( oss.str() );
}
}
if(CORBA::is_nil(trueCont))
}
}
if(CORBA::is_nil(trueCont))
- throw Exception("SalomeContainer::start : Unable to launch container in Salome. Check your CatalogResources.xml file");
+ {
+ std::ostringstream oss; oss << "SalomeContainer::start : Unable to launch container " << myparams.container_name << " in Salome. Check your CatalogResources.xml file";
+ throw Exception( oss.str() );
+ }
// TODO : thread safety!
schelp->setContainer(askingNode,trueCont);
// TODO : thread safety!
schelp->setContainer(askingNode,trueCont);