Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc. cosmetic changes.
[simgrid.git] / src / simgrid / Exception.cpp
index d9c9e8ef823ae0066e3bc85c08c4f1773176d460..d250e733c01064f79d0d03dc2879171317591d7e 100644 (file)
@@ -35,8 +35,8 @@ bool ForcefulKillException::try_n_catch(const std::function<void()>& try_block)
   try {
     try_block();
     res = true;
-  } catch (ForcefulKillException const&) {
-    XBT_DEBUG("Caught a ForcefulKillException");
+  } catch (ForcefulKillException const& e) {
+    XBT_DEBUG("Caught a ForcefulKillException: %s", e.what());
     res = false;
   }
   return res;