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

more relay logging

This commit is contained in:
Kyle Spearrin
2019-03-20 00:41:11 -04:00
parent dc0bdfa28b
commit 2f3b38a941
2 changed files with 8 additions and 1 deletions

View File

@ -54,12 +54,15 @@ 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,