A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display a msg when contexts are killed by uncatched exceptions
[simgrid.git]
/
src
/
kernel
/
context
/
ContextRaw.cpp
diff --git
a/src/kernel/context/ContextRaw.cpp
b/src/kernel/context/ContextRaw.cpp
index
6c3e92a
..
2edbd1d
100644
(file)
--- a/
src/kernel/context/ContextRaw.cpp
+++ b/
src/kernel/context/ContextRaw.cpp
@@
-264,8
+264,9
@@
void RawContext::wrapper(void* arg)
(*context)();
} catch (StopRequest const&) {
XBT_DEBUG("Caught a StopRequest");
(*context)();
} catch (StopRequest const&) {
XBT_DEBUG("Caught a StopRequest");
- } catch (simgrid::HostFailureException const&) {
- XBT_DEBUG("Caught an HostFailureException");
+ } catch (simgrid::Exception const& e) {
+ XBT_INFO("Actor killed by an uncatched exception %s", simgrid::xbt::demangle(typeid(e).name()).get());
+ throw e;
}
context->Context::stop();
}
context->Context::stop();