1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05: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

@ -1,4 +1,4 @@
@model LogModel
@model LogDetailsModel
@{
ViewData["Title"] = "Log: " + Model.Id;
}
@ -26,7 +26,7 @@
@if(Model.Exception != null)
{
<h2>Exception</h2>
<pre style="max-height: 500px;">@Model.Exception.ToString()</pre>
<pre style="max-height: 500px;">@Model.ExceptionToString(Model.Exception)</pre>
}
@if(Model.Properties != null && Model.Properties.Count > 0)