diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-07-31 07:02:04 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-07-31 07:02:04 +0200 |
commit | c39b1a665114ad2a8231f0ea69f9c730cc434070 (patch) | |
tree | a03159f663962070345ba892ff8a67e8da9a6d35 /src/Main.cc | |
parent | fd192780b998f46dac8d192ba68666bb5d8db73d (diff) |
Added a few forgotten references.
Diffstat (limited to 'src/Main.cc')
-rw-r--r-- | src/Main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main.cc b/src/Main.cc index baf55d4..7c205d4 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -60,7 +60,7 @@ int Balau::Main::bootstrap(int argc, char ** argv) { r = TaskMan::getDefaultTaskMan()->mainLoop(); m_status = STOPPING; } - catch (Exit e) { + catch (Exit & e) { m_status = STOPPING; Printer::log(M_ERROR, "We shouldn't have gotten an Exit exception here... exitting anyway"); auto trace = e.getTrace(); @@ -68,7 +68,7 @@ int Balau::Main::bootstrap(int argc, char ** argv) { Printer::log(M_ERROR, "%s", str.to_charp()); r = e.getCode(); } - catch (RessourceException e) { + catch (RessourceException & e) { m_status = STOPPING; Printer::log(M_ERROR | M_ALERT, "The application got a ressource problem: %s", e.getMsg()); const char * details = e.getDetails(); @@ -79,7 +79,7 @@ int Balau::Main::bootstrap(int argc, char ** argv) { Printer::log(M_DEBUG, "%s", str.to_charp()); r = -1; } - catch (GeneralException e) { + catch (GeneralException & e) { m_status = STOPPING; Printer::log(M_ERROR | M_ALERT, "The application caused an exception: %s", e.getMsg()); const char * details = e.getDetails(); |