[gnome-control-center] network: Add debug for connection activation failures
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Add debug for connection activation failures
- Date: Tue, 2 Oct 2012 12:59:36 +0000 (UTC)
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]