aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarja Hassinen <marja.hassinen@nokia.com>2010-12-07 11:01:21 +0200
committerMarja Hassinen <marja.hassinen@nokia.com>2010-12-07 11:01:21 +0200
commit27683eb820ba61a2f36aa50b2ffe77874d617492 (patch)
tree2d5faeb28e81e60dd662ad3441d2ad9bb982dddc
parent1000d53b52fee87be0a969254472efef4904301f (diff)
Don't print warnings when the provider is not running.
This can happen e.g., during boot, and contextkit recovers from it when the provider starts.
-rw-r--r--libcontextsubscriber/src/provider.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcontextsubscriber/src/provider.cpp b/libcontextsubscriber/src/provider.cpp
index b889045b..5c3d8f47 100644
--- a/libcontextsubscriber/src/provider.cpp
+++ b/libcontextsubscriber/src/provider.cpp
@@ -269,7 +269,11 @@ void Provider::onPluginSubscribeFinished(QString key)
/// warning.
void Provider::onPluginSubscribeFailed(QString key, QString error)
{
- contextWarning() << key << error;
+ // Don't print a warning here; under some circumstances it is normal that
+ // the provider is not running (e.g., during boot, subscribers might start
+ // before providers). When the provider really starts, contextkit recovers
+ // from the situation gracefully.
+ contextDebug() << key << error;
signalSubscribeFinished(key);
}