summaryrefslogtreecommitdiff
path: root/fbdaemon
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-04-25 15:04:28 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-04-25 15:04:28 (GMT)
commit0e3bb3e97301016baa91a325e0a885e925b08476 (patch)
tree32130dc2dbb9284ec9c785e18dbfa22b044d5833 /fbdaemon
parent05b882f33992a88d5b4e61fbfc90014500535c4e (diff)
downloadkolab-utils-0e3bb3e97301016baa91a325e0a885e925b08476.tar.gz
Don't treat warnings as errors.
Diffstat (limited to 'fbdaemon')
-rw-r--r--fbdaemon/generatefbjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fbdaemon/generatefbjob.cpp b/fbdaemon/generatefbjob.cpp
index c946923..4bf09f7 100644
--- a/fbdaemon/generatefbjob.cpp
+++ b/fbdaemon/generatefbjob.cpp
@@ -53,8 +53,8 @@ static void mergeEventsToFB(Kolab::Freebusy &freebusy, const QList<KMime::Messag
Q_FOREACH ( const KMime::Message::Ptr &message, messages ) {
// kDebug() << message->encodedContent();
Kolab::KolabObjectReader reader(message);
- if (Kolab::ErrorHandler::instance().error() > Kolab::ErrorHandler::Debug) {
- kWarning() << Kolab::ErrorHandler::instance().errorMessage();
+ if (Kolab::ErrorHandler::instance().errorOccured()) {
+ Debug() << "Error occurrend, skipping";
continue;
}
if (reader.getType() != Kolab::EventObject) {