From d462f64d6044349b0a4e3581cf2c97bbab7aec97 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 23 Jan 2017 23:34:56 +0100 Subject: New upstream version 1.5.91 --- libnm/nm-object.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'libnm/nm-object.c') diff --git a/libnm/nm-object.c b/libnm/nm-object.c index a5eccbdc..6a47c659 100644 --- a/libnm/nm-object.c +++ b/libnm/nm-object.c @@ -596,7 +596,18 @@ handle_object_property (NMObject *self, const char *property_name, GVariant *val if (!object) { /* This is a server bug -- a dangling object path for an object * that does not exist. */ - g_warning ("No object known for %s", path); + /* XXX: We've ignored this before and the server hits the condition + * more often that it should. Given we're able to recover from + * ther error, let's lower the severity of the log message to + * avoid unnecessarily bothering the user. This can be removed + * once the issue is fixed on the server. */ +#if NM_MORE_ASSERTS +#define __nm_log_debug g_warning +#else +#define __nm_log_debug g_debug +#endif + __nm_log_debug ("No object known for %s", path); +#undef __nm_log_debug return FALSE; } -- cgit 1.3.0-6-gf8a5