summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-object.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-04-08 12:02:28 -0400
committerDan Winship <danw@gnome.org>2014-06-20 11:28:22 -0400
commit2d3b8f735731abf6dcbad1714e126c2ce8fc418a (patch)
tree4a65adb6a5e661d5adebb24c23cf5f01b283274d /libnm-glib/nm-object.c
parenta4b689096e1a9f85bb69073e0241d005025fd7b1 (diff)
downloadNetworkManager-danw/wip/gerror.tar.gz
all: don't include error->code in log messagesdanw/wip/gerror
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.
Diffstat (limited to 'libnm-glib/nm-object.c')
-rw-r--r--libnm-glib/nm-object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm-glib/nm-object.c b/libnm-glib/nm-object.c
index c80b1594a9..bb1d579ce3 100644
--- a/libnm-glib/nm-object.c
+++ b/libnm-glib/nm-object.c
@@ -1288,11 +1288,10 @@ _nm_object_reload_property (NMObject *object,
G_TYPE_INVALID,
G_TYPE_VALUE, &value,
G_TYPE_INVALID)) {
- 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;