1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

Don't log response details when it's null (#2407)

This commit is contained in:
Justin Baur 2022-11-14 11:41:17 -05:00 committed by GitHub
parent b24ce17193
commit 668f363ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ public abstract class BaseIdentityClientService : IDisposable
if (response == null)
{
_logger.LogError("Empty token response from {identity} for client {clientId} with status {code}-{reason}", IdentityClient.BaseAddress, _identityClientId, response.StatusCode, response.ReasonPhrase);
_logger.LogError("Empty token response from {identity} for client {clientId}", IdentityClient.BaseAddress, _identityClientId);
return false;
}