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
Misc. cosmetic changes.
[simgrid.git]
/
src
/
simgrid
/
Exception.cpp
diff --git
a/src/simgrid/Exception.cpp
b/src/simgrid/Exception.cpp
index add73437f5dce037d75884230fe979b76a893157..d250e733c01064f79d0d03dc2879171317591d7e 100644
(file)
--- a/
src/simgrid/Exception.cpp
+++ b/
src/simgrid/Exception.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2018-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2018-202
1
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-35,8
+35,8
@@
bool ForcefulKillException::try_n_catch(const std::function<void()>& try_block)
try {
try_block();
res = true;
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;
res = false;
}
return res;