mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 05:00:15 +01:00
auth-chain: drop logging in NMAuthChain when request fails
For one, we already do <trace> level logging inside NMAuthManager. So, at trace level we have everything. If a request fails, it's not up to NMAuthChain to log a warning.
This commit is contained in:
parent
9385c7a7cf
commit
8722703892
1 changed files with 0 additions and 6 deletions
|
|
@ -258,12 +258,6 @@ pk_call_cb (NMAuthManager *auth_manager,
|
|||
|
||||
call->call_id = NULL;
|
||||
|
||||
if (error) {
|
||||
/* Don't ruin the chain. Just leave the result unknown. */
|
||||
nm_log_warn (LOGD_CORE, "error requesting auth for %s: %s",
|
||||
call->permission, error->message);
|
||||
}
|
||||
|
||||
call_result = nm_auth_call_result_eval (is_authorized, is_challenge, error);
|
||||
|
||||
nm_auth_chain_set_data (call->chain, call->permission, GUINT_TO_POINTER (call_result), NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue