summaryrefslogtreecommitdiff
path: root/src/Threads.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-31 07:02:04 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-07-31 07:02:04 +0200
commitc39b1a665114ad2a8231f0ea69f9c730cc434070 (patch)
treea03159f663962070345ba892ff8a67e8da9a6d35 /src/Threads.cc
parentfd192780b998f46dac8d192ba68666bb5d8db73d (diff)
Added a few forgotten references.
Diffstat (limited to 'src/Threads.cc')
-rw-r--r--src/Threads.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Threads.cc b/src/Threads.cc
index 7b1b7bc..6de9186 100644
--- a/src/Threads.cc
+++ b/src/Threads.cc
@@ -50,13 +50,13 @@ void * Balau::ThreadHelper::threadProc(void * arg) {
free(tls);
success = true;
}
- catch (Exit e) {
+ catch (Exit & e) {
Printer::log(M_ERROR, "We shouldn't have gotten an Exit exception here... exitting anyway");
auto trace = e.getTrace();
for (String & str : trace)
Printer::log(M_ERROR, "%s", str.to_charp());
}
- catch (RessourceException e) {
+ catch (RessourceException & e) {
Printer::log(M_ERROR | M_ALERT, "The Thread got a ressource problem: %s", e.getMsg());
const char * details = e.getDetails();
if (details)
@@ -65,7 +65,7 @@ void * Balau::ThreadHelper::threadProc(void * arg) {
for (String & str : trace)
Printer::log(M_DEBUG, "%s", str.to_charp());
}
- catch (GeneralException e) {
+ catch (GeneralException & e) {
Printer::log(M_ERROR | M_ALERT, "The Thread caused an exception: %s", e.getMsg());
const char * details = e.getDetails();
if (details)