1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 10:43:44 +00:00

log exception strings

This commit is contained in:
Kyle Spearrin
2018-03-30 17:35:07 -04:00
parent efd6a89e34
commit c63422ea5d
3 changed files with 40 additions and 15 deletions

View File

@@ -70,7 +70,7 @@ namespace Bit.Admin.Controllers
_globalSettings.DocumentDb.Key))
{
var uri = UriFactory.CreateDocumentUri(Database, Collection, id.ToString());
var response = await client.ReadDocumentAsync<LogModel>(uri);
var response = await client.ReadDocumentAsync<LogDetailsModel>(uri);
if(response?.Document == null)
{
return RedirectToAction("Index");