From 7e6ab015a694ba93a2e14f47252a9d0ea434c0a5 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 22 May 2018 01:05:45 +0900 Subject: [PATCH] Fix bug on Error page --- BTCPayServer/BTCPayServer.csproj | 2 +- BTCPayServer/Views/Shared/Error.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index c786c3c34..5a8884c5d 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -2,7 +2,7 @@ Exe netcoreapp2.1 - 1.0.2.23 + 1.0.2.24 NU1701,CA1816,CA1308,CA1810,CA2208 diff --git a/BTCPayServer/Views/Shared/Error.cshtml b/BTCPayServer/Views/Shared/Error.cshtml index 086796acf..245c075d9 100644 --- a/BTCPayServer/Views/Shared/Error.cshtml +++ b/BTCPayServer/Views/Shared/Error.cshtml @@ -6,7 +6,7 @@

Error.

An error occurred while processing your request.

-@if(Model.ShowRequestId) +@if(Model != null && Model.ShowRequestId) {

Request ID: @Model.RequestId