[gnome-control-center] network: Add debug for connection activation failures



commit e7e02390b6b4506a002f48b5d20b40d3270d0902
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 2 12:28:58 2012 +0200

    network: Add debug for connection activation failures

 panels/network/net-device-wifi.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index aa02090..7b63a45 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1037,6 +1037,9 @@ connection_add_activate_cb (NMClient *client,
 
         if (connection == NULL) {
                 /* failed to activate */
+                g_debug ("Failed to add and activate connection '%d': %s",
+                         error->code,
+                         error->message);
                 nm_device_wifi_refresh_ui (device_wifi);
         }
 }
@@ -1051,6 +1054,9 @@ connection_activate_cb (NMClient *client,
 
         if (connection == NULL) {
                 /* failed to activate */
+                g_debug ("Failed to activate connection '%d': %s",
+                         error->code,
+                         error->message);
                 nm_device_wifi_refresh_ui (device_wifi);
         }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]