summaryrefslogtreecommitdiff
path: root/src/TaskMan.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/TaskMan.cc
parentfd192780b998f46dac8d192ba68666bb5d8db73d (diff)
Added a few forgotten references.
Diffstat (limited to 'src/TaskMan.cc')
-rw-r--r--src/TaskMan.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc
index 177cec1..398fa87 100644
--- a/src/TaskMan.cc
+++ b/src/TaskMan.cc
@@ -1,3 +1,4 @@
+
#include "Async.h"
#include "TaskMan.h"
#include "Task.h"
@@ -391,13 +392,13 @@ void * Balau::TaskMan::TaskManThread::proc() {
m_taskMan->mainLoop();
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 TaskMan thread got a ressource problem: %s", e.getMsg());
const char * details = e.getDetails();
if (details)
@@ -406,7 +407,7 @@ void * Balau::TaskMan::TaskManThread::proc() {
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 TaskMan thread caused an exception: %s", e.getMsg());
const char * details = e.getDetails();
if (details)