diff options
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r-- | src/Daemon/Daemon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index f8d01de..a404e80 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -18,6 +18,7 @@ */ #include "CrashWatcher.h" +#include "ABRTException.h" #include <iostream> #include <cstdio> @@ -61,6 +62,10 @@ int main(int argc, char** argv) g_pCrashWatcher->Run(); } } + catch(CABRTException& e) + { + std::cerr << "Cannot create daemon: " << e.what() << std::endl; + } catch(std::exception& e) { std::cerr << "Cannot create daemon: " << e.what() << std::endl; |