summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CrashWatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/CrashWatcher.cpp')
-rw-r--r--src/Daemon/CrashWatcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp
index 9cb4595..674a695 100644
--- a/src/Daemon/CrashWatcher.cpp
+++ b/src/Daemon/CrashWatcher.cpp
@@ -111,7 +111,7 @@ gboolean CCrashWatcher::handle_event_cb(GIOChannel *gio, GIOCondition condition,
}
catch (CABRTException& e)
{
- std::cerr << e.what() << std::endl;
+ cc->Warning(e.what());
if (e.type() == EXCEP_FATAL)
{
return -1;
@@ -511,7 +511,7 @@ void CCrashWatcher::CreatePidFile()
}
close(fd);
}
-
+
/* something went wrong */
CABRTException(EXCEP_FATAL, "CCrashWatcher::CreatePidFile(): can not open pid file");
}