From: mquinson Date: Mon, 22 Mar 2010 10:09:39 +0000 (+0000) Subject: More informative error message X-Git-Tag: SVN~447 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/29ce1e7d528fc6f69c014cac44c0bbaf6e4aba06 More informative error message git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7292 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/msg_mailbox.c b/src/msg/msg_mailbox.c index c897b6a621..c0e97dca64 100644 --- a/src/msg/msg_mailbox.c +++ b/src/msg/msg_mailbox.c @@ -148,7 +148,7 @@ MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, m_task_t *task, m_host_t host, ret = MSG_TIMEOUT_FAILURE; break; default: - xbt_die("Unhandled SIMIX network exception"); + xbt_die(bprintf("Unhandled SIMIX network exception: %s",e.msg)); } xbt_ex_free(e); } @@ -202,7 +202,7 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, m_task_t task, ret = MSG_TIMEOUT_FAILURE; break; default: - xbt_die("Unhandled SIMIX network exception"); + xbt_die(bprintf("Unhandled SIMIX network exception: %s",e.msg)); } xbt_ex_free(e);