1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

updates to logging

This commit is contained in:
Kyle Spearrin
2019-03-20 08:26:11 -04:00
parent 2f3b38a941
commit 9dedf359e5
3 changed files with 8 additions and 11 deletions

View File

@ -54,15 +54,12 @@ namespace Bit.Core.Services
protected async Task SendAsync(HttpMethod method, string path, object requestModel = null)
{
_logger.LogInformation(Constants.BypassFiltersEventId, "SendAsync1");
var tokenStateResponse = await HandleTokenStateAsync();
if(!tokenStateResponse)
{
_logger.LogInformation(Constants.BypassFiltersEventId, "SendAsync2");
return;
}
_logger.LogInformation(Constants.BypassFiltersEventId, "SendAsync3");
var message = new TokenHttpRequestMessage(requestModel, AccessToken)
{
Method = method,