Skip to content
Snippets Groups Projects
Commit 20ecc6f3 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

Error -> Fatal

parent f94ccfcb
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,7 @@ bool onelab::localNetworkClient::run(const std::string &what) ...@@ -181,7 +181,7 @@ bool onelab::localNetworkClient::run(const std::string &what)
set(p); set(p);
} }
else else
Msg::Error("FIXME not done for this parameter type: %s", type.c_str()); Msg::Error("FIXME not done for this parameter types: %s", type.c_str());
} }
break; break;
case GmshSocket::GMSH_PARAMETER_QUERY: case GmshSocket::GMSH_PARAMETER_QUERY:
...@@ -199,7 +199,7 @@ bool onelab::localNetworkClient::run(const std::string &what) ...@@ -199,7 +199,7 @@ bool onelab::localNetworkClient::run(const std::string &what)
if(par.size() == 1) reply = par[0].toChar(); if(par.size() == 1) reply = par[0].toChar();
} }
else else
Msg::Error("FIXME query not done for this parameter type"); Msg::Fatal("FIXME query not done for this parameter type");
if(reply.size()){ if(reply.size()){
server->SendMessage(GmshSocket::GMSH_PARAMETER, reply.size(), &reply[0]); server->SendMessage(GmshSocket::GMSH_PARAMETER, reply.size(), &reply[0]);
} }
...@@ -660,7 +660,7 @@ void onelab_cb(Fl_Widget *w, void *data) ...@@ -660,7 +660,7 @@ void onelab_cb(Fl_Widget *w, void *data)
// variable to "check" or "compute", and letting the client decide what to // variable to "check" or "compute", and letting the client decide what to
// do) // do)
if(action == "check"){ if(action == "check"){
if(c->getName() == "GetDP") if(c->getName() == "GetDP") // client name as defined in getdp/Common/Message.cpp::InitializeOnelab()
c->run(what); c->run(what);
else else
c->run(what + " -a "); // '-a' for 'analyse only' c->run(what + " -a "); // '-a' for 'analyse only'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment