diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-28 18:12:28 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-03 18:54:20 +0100 |
commit | cd4f84b7381707bff6e5fcc3cee84492e12c6879 (patch) | |
tree | 1dbe34839e59cf1d1d61e63dc3da56034a4c3508 /libnm/nm-object.c | |
parent | 6265398b6e33ea67d73c592dd3a88f3fafc5bc7a (diff) | |
download | NetworkManager-cd4f84b7381707bff6e5fcc3cee84492e12c6879.tar.gz |
all: don't include error->code in log messages
GError codes are only unique per domain, so logging the code without
also indicating the domain is not helpful. And anyway, if the error
messages are not distinctive enough to tell the whole story then we
should fix the error messages.
Based-on-patch-by: Dan Winship <danw@gnome.org>
Diffstat (limited to 'libnm/nm-object.c')
-rw-r--r-- | libnm/nm-object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c index b35f6822a5..9a5dcd6f0d 100644 --- a/libnm/nm-object.c +++ b/libnm/nm-object.c @@ -1280,11 +1280,10 @@ _nm_object_reload_property (NMObject *object, G_DBUS_CALL_FLAGS_NONE, 15000, NULL, &err); if (!ret) { - dbgmsg ("%s: Error getting '%s' for %s: (%d) %s\n", + dbgmsg ("%s: Error getting '%s' for %s: %s\n", __func__, prop_name, nm_object_get_path (object), - err->code, err->message); g_clear_error (&err); return; |