Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more explicit error messages
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 25 Nov 2010 09:24:20 +0000 (09:24 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 25 Nov 2010 09:24:20 +0000 (09:24 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8646 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Msg/gras_msg_exchange.c

index e077937..9130c54 100644 (file)
@@ -153,11 +153,11 @@ gras_msg_wait_(double timeout,
 
   if (msgt_want->ctn_type) {
     xbt_assert1(payload,
 
   if (msgt_want->ctn_type) {
     xbt_assert1(payload,
-                "Message type '%s' convey a payload you must accept",
+                "Message type '%s' convey a payload that you must accept",
                 msgt_want->name);
   } else {
     xbt_assert1(!payload,
                 msgt_want->name);
   } else {
     xbt_assert1(!payload,
-                "No payload was declared for message type '%s'",
+                "No payload was declared for message type '%s' (don't expect one)",
                 msgt_want->name);
   }
 
                 msgt_want->name);
   }