aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-idle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index d9c8178e8..66434a81e 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -404,11 +404,15 @@ empathy_idle_init (EmpathyIdle *idle)
priv->mc = empathy_mission_control_new ();
priv->state = mission_control_get_presence_actual (priv->mc, &error);
if (error) {
+ DEBUG ("Error getting actual presence: %s", error->message);
+
priv->state = MC_PRESENCE_UNSET;
g_clear_error (&error);
}
priv->status = mission_control_get_presence_message_actual (priv->mc, &error);
if (error) {
+ DEBUG ("Error getting actual presence message: %s", error->message);
+
g_free (priv->status);
priv->status = NULL;
g_clear_error (&error);