From: Martin Quinson Date: Sat, 14 Jul 2018 20:46:36 +0000 (+0200) Subject: improve an error message X-Git-Tag: v3_21~433 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/88ed441e729f7c69e091ebcfb4404fead8676f66 improve an error message --- diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index a5ce276ac8..f192754677 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -431,7 +431,7 @@ void sg_platf_new_actor(simgrid::kernel::routing::ActorCreationArgs* actor) xbt_die("%s", msg.c_str()); } simgrid::simix::ActorCodeFactory& factory = SIMIX_get_actor_code_factory(actor->function); - xbt_assert(factory, "Function '%s' unknown", actor->function); + xbt_assert(factory, "Error while creating an actor from the XML file: Function '%s' not registered", actor->function); double start_time = actor->start_time; double kill_time = actor->kill_time;