From: mquinson Date: Wed, 10 Oct 2007 15:56:21 +0000 (+0000) Subject: Do display where the exception comes from when dealing with remote exceptions X-Git-Tag: v3.3~993 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2a98e22685f02a89ca5ac78e20afa994ac36489a?hp=b50a07be6e7ad1e96521f16137571f7f84f97f5f Do display where the exception comes from when dealing with remote exceptions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4798 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/ex.c b/src/xbt/ex.c index adfc14ac21..3cbbbcd9db 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -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"