diff options
author | Karel Klic <kklic@redhat.com> | 2009-12-04 16:36:35 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2009-12-04 16:36:35 +0100 |
commit | b7ea0e53e3375de6298b2f510302f75ebef4be4e (patch) | |
tree | 5bb4e5d163a8f1c5f2e54292fa60192045dad312 /src/Daemon/Daemon.cpp | |
parent | 7b0292edc52d031db91ba6e38ff626a350959e2d (diff) | |
parent | 230f151aa7e357c37040ed51bcbdbc1a766af82a (diff) | |
download | abrt-b7ea0e53e3375de6298b2f510302f75ebef4be4e.tar.gz abrt-b7ea0e53e3375de6298b2f510302f75ebef4be4e.tar.xz abrt-b7ea0e53e3375de6298b2f510302f75ebef4be4e.zip |
Merge branch 'master' of git://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r-- | src/Daemon/Daemon.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index aeeb0cd5..54fc93f4 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -343,11 +343,6 @@ static void FindNewDumps(const char* pPath) VERB1 log("Already saved crash %s, deleting", itt->c_str()); delete_debug_dump_dir(itt->c_str()); break; - case MW_BLACKLISTED: - case MW_CORRUPTED: - case MW_PACKAGE_ERROR: - case MW_GPG_ERROR: - case MW_FILE_ERROR: default: log("Corrupted or bad crash %s (res:%d), deleting", itt->c_str(), (int)res); delete_debug_dump_dir(itt->c_str()); @@ -356,10 +351,6 @@ static void FindNewDumps(const char* pPath) } catch (CABRTException& e) { - if (e.type() == EXCEP_FATAL) - { - throw e; - } error_msg("%s", e.what()); } } @@ -545,12 +536,7 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin } catch (CABRTException& e) { - error_msg(e.what()); - if (e.type() == EXCEP_FATAL) - { - free(buf); - return -1; - } + error_msg("%s", e.what()); } catch (...) { |