[telepathy-mission-control/master] Turn warning into DEBUG()

Alberto Mardegan alberto.mardegan at nokia.com
Fri Apr 3 02:11:05 PDT 2009


Also, rewrite the comment.
---
 src/mcd-connection.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index 2410ffc..cca1e56 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -1993,10 +1993,10 @@ map_tp_error_to_mc_error (McdChannel *channel, const GError *error)
 {
     McError mc_error_code;
 
-    g_warning ("Telepathy Error = %s", error->message);
-    
-    /* TODO : Are there still more specific errors we need
-     * to distinguish?
+    DEBUG ("Telepathy Error = %s", error->message);
+
+    /* Some TP errors might be a bit too generic for the UIs.
+     * With some guesswork, we can add more precise error reporting here.
      */
     if (mcd_channel_get_channel_type_quark (channel) ==
 	TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA &&
-- 
1.5.6.5



More information about the telepathy-commits mailing list