analizators/s2259
This commit is contained in:
parent
555ca30c99
commit
3d33fecf77
@ -34,7 +34,7 @@ namespace ASC.Api.Core.Middleware
|
||||
if (tenant == null)
|
||||
{
|
||||
context.Result = new StatusCodeResult((int)HttpStatusCode.NotFound);
|
||||
log.WarnFormat("Tenant {0} not found", tenant.TenantId);
|
||||
log.WarnFormat("Current tenant not found");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ namespace ASC.MessagingSystem
|
||||
Action = action,
|
||||
Description = description,
|
||||
Target = target,
|
||||
UAHeader = request.Headers[userAgentHeader].FirstOrDefault()
|
||||
UAHeader = request?.Headers[userAgentHeader].FirstOrDefault()
|
||||
};
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
Reference in New Issue
Block a user