Skip to content

Commit

Permalink
fix null ref
Browse files Browse the repository at this point in the history
  • Loading branch information
twsouthwick committed Jul 29, 2022
1 parent e8eaaf7 commit 8d1eb1a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@model ErrorViewModel
@model ErrorViewModel
@{
ViewData["Title"] = "Error";
}

<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>

@if (Model.ShowRequestId)
@if (Model!.ShowRequestId)
{
<p>
<strong>Request ID:</strong> <code>@Model.RequestId</code>
<strong>Request ID:</strong> <code>@Model!.RequestId</code>
</p>
}

Expand Down

0 comments on commit 8d1eb1a

Please sign in to comment.