From: Martin Quinson Date: Thu, 22 Jun 2017 20:39:21 +0000 (+0200) Subject: improve an error message X-Git-Tag: v3.16~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5fb0f092ec651c6562f79bb8382e33feadd9a4c5 improve an error message This seems to occur on FreeBSD when killing an actor within a Java simulation. But who does this? --- diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index ad829c2169..5483ae5370 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -90,7 +90,7 @@ static void handler() // an uncaught exception static std::atomic_flag lock = ATOMIC_FLAG_INIT; if (lock.test_and_set()) { - XBT_ERROR("Multiple uncaught exceptions"); + XBT_ERROR("Handling an exception raised an exception. Bailing out."); std::abort(); }