diff options
author | Dan Winship <danw@gnome.org> | 2014-04-08 12:02:28 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-06-20 11:28:22 -0400 |
commit | 2d3b8f735731abf6dcbad1714e126c2ce8fc418a (patch) | |
tree | 4a65adb6a5e661d5adebb24c23cf5f01b283274d /src/nm-manager-auth.c | |
parent | a4b689096e1a9f85bb69073e0241d005025fd7b1 (diff) | |
download | NetworkManager-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 'src/nm-manager-auth.c')
-rw-r--r-- | src/nm-manager-auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-manager-auth.c b/src/nm-manager-auth.c index ca58df1df6..2b032cbf71 100644 --- a/src/nm-manager-auth.c +++ b/src/nm-manager-auth.c @@ -386,8 +386,8 @@ pk_call_cb (GObject *object, GAsyncResult *result, gpointer user_data) if (!call->chain->error) call->chain->error = g_error_copy (error); - nm_log_warn (LOGD_CORE, "error requesting auth for %s: (%d) %s", - call->permission, error->code, error->message); + nm_log_warn (LOGD_CORE, "error requesting auth for %s: %s", + call->permission, error->message); g_clear_error (&error); } else { guint call_result = NM_AUTH_CALL_RESULT_UNKNOWN; |