summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-06-24 09:00:18 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-06-24 09:00:18 +0200
commit41159650f5401908876548572bcd0c2615e14b18 (patch)
treec505f31b959998a761f407c7c727b04da1cc22cb
parent644832e59bf2c91ed39a644c0db55a3d2d54327f (diff)
downloadabrt-41159650f5401908876548572bcd0c2615e14b18.tar.gz
abrt-41159650f5401908876548572bcd0c2615e14b18.tar.xz
abrt-41159650f5401908876548572bcd0c2615e14b18.zip
fixed exception chatching
-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 9cb45950..674a6950 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");
}