Skip to content

Commit

Permalink
improve SASL debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Desmottes committed Aug 8, 2012
1 parent 7b5a073 commit 8ad1966
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libempathy/empathy-sasl-mechanisms.c
Expand Up @@ -84,11 +84,15 @@ sasl_status_changed_cb (TpChannel *channel,
tp_proxy_dbus_error_to_gerror (channel, dbus_error,
tp_asv_get_string (details, "debug-message"), &error);

DEBUG ("SASL failed: %s", error->message);

g_simple_async_result_take_error (result, error);
}
break;

case TP_SASL_STATUS_SUCCEEDED:
DEBUG ("SASL succeeded");

g_simple_async_result_complete (result);
break;

Expand Down
2 changes: 2 additions & 0 deletions libempathy/empathy-uoa-auth-handler.c
Expand Up @@ -93,6 +93,8 @@ auth_cb (GObject *source,
g_clear_error (&error);
}

DEBUG ("Auth on %s suceeded", tp_proxy_get_object_path (channel));

tp_channel_close_async (channel, NULL, NULL);
}

Expand Down

0 comments on commit 8ad1966

Please sign in to comment.