diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-02 08:30:31 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-02 08:30:31 -0700 |
commit | 6828a78c092d422fdb1c3b0550e22656d6cc3f77 (patch) | |
tree | 9ba2506c243b24b4e6bf31c3c8ad09ef3c721636 /src/core/lib/security/credentials/oauth2 | |
parent | 75584a44140e6fd1b297cc5068a8cc89b163ff3b (diff) |
Log error
Diffstat (limited to 'src/core/lib/security/credentials/oauth2')
-rw-r--r-- | src/core/lib/security/credentials/oauth2/oauth2_credentials.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/security/credentials/oauth2/oauth2_credentials.c b/src/core/lib/security/credentials/oauth2/oauth2_credentials.c index 671dea31e6..4606418b38 100644 --- a/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +++ b/src/core/lib/security/credentials/oauth2/oauth2_credentials.c @@ -226,6 +226,8 @@ static void on_oauth2_token_fetcher_http_response(grpc_exec_ctx *exec_ctx, gpr_timespec token_lifetime; grpc_credentials_status status; + GRPC_LOG_IF_ERROR("oauth_fetch", GRPC_ERROR_REF(error)); + gpr_mu_lock(&c->mu); status = grpc_oauth2_token_fetcher_credentials_parse_server_response( &r->response, &c->access_token_md, &token_lifetime); |