diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2014-10-27 18:43:38 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2014-10-27 18:43:38 +0100 |
commit | f8fc9bb804927a12211491eb5f57e455096f4389 (patch) | |
tree | 810dc37888139d055dec995aa4ba8f3615b71e13 | |
parent | 7afdd9c97960b532324c6a1208f09dea3ecb9219 (diff) | |
download | NetworkManager-lr/error.tar.gz |
libnm-core: Don't warn on missing propertieslr/error
It might simply mean that the object disappeared (which is perfectly fine):
(process:7680): libnm-WARNING **: Could not fetch property 'Vpn' of interface 'org.freedesktop.NetworkManager.Connection.Active' on /org/freedesktop/NetworkManager/ActiveConnection/151: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
-rw-r--r-- | libnm/nm-object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c index 726edddf2b..c9f38756e7 100644 --- a/libnm/nm-object.c +++ b/libnm/nm-object.c @@ -632,7 +632,7 @@ _nm_object_create (GType type, GDBusConnection *connection, const char *path) NULL, &error); g_object_unref (proxy); if (!ret) { - g_warning ("Could not fetch property '%s' of interface '%s' on %s: %s\n", + dbgmsg ("Could not fetch property '%s' of interface '%s' on %s: %s\n", type_data->property, type_data->interface, path, error->message); g_error_free (error); return NULL; @@ -753,7 +753,7 @@ create_async_got_property (GObject *proxy, GAsyncResult *result, gpointer user_d g_variant_unref (value); g_variant_unref (ret); } else { - g_warning ("Could not fetch property '%s' of interface '%s' on %s: %s\n", + dbgmsg ("Could not fetch property '%s' of interface '%s' on %s: %s\n", type_data->property, type_data->interface, async_data->path, error->message); g_clear_error (&error); |