Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do display where the exception comes from when dealing with remote exceptions
[simgrid.git] / src / xbt / ex.c
index adfc14a..3cbbbcd 100644 (file)
@@ -323,7 +323,7 @@ void xbt_ex_display(xbt_ex_t *e)  {
   char *thrower=NULL;
 
   if (e->remote)
-    bprintf(" on host %s(%d)",e->host,e->pid);
+    thrower = bprintf(" on host %s(%d)",e->host,e->pid);
 
   fprintf(stderr,
          "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n"