X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/90750b2b8f84e51c766470561fbaed1de51e91b0..bb9c46e03a4e98cde63514bce0f018fb564f9171:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 8ee3c3d334..b29414db85 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -209,10 +209,11 @@ void xbt_ex_display(xbt_ex_t *e) { if (e->remote) bprintf(" on host %s(%ld)",e->host,e->pid); + CRITICAL1("%s",e->msg); fprintf(stderr, "** SimGrid: UNCAUGHT EXCEPTION received on %s(%ld): category: %s; value: %d\n" "** %s\n" - "** Thrown by %s()%s", + "** Thrown by %s()%s\n", gras_os_myname(),gras_os_getpid(), xbt_ex_catname(e->category), e->value, e->msg, e->procname,thrower?thrower:" in this process");