From 5fb0f092ec651c6562f79bb8382e33feadd9a4c5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 22 Jun 2017 22:39:21 +0200 Subject: [PATCH] improve an error message This seems to occur on FreeBSD when killing an actor within a Java simulation. But who does this? --- src/xbt/exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.20.1