Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in error message
[simgrid.git] / src / s4u / s4u_Engine.cpp
index 4c7026b..6f5e4d6 100644 (file)
@@ -139,7 +139,7 @@ void Engine::host_unregister(std::string name)
 simgrid::s4u::Host* Engine::host_by_name(std::string name)
 {
   if (pimpl->hosts_.find(name) == pimpl->hosts_.end())
-    throw std::invalid_argument(std::string("Host not found: ") + name);
+    throw std::invalid_argument(std::string("Host not found: '") + name + std::string("'"));
   return pimpl->hosts_.at(name);
 }