Adding prettier error handling page in the pipeline

This commit is contained in:
rockstardev
2020-02-01 01:40:50 -06:00
parent 88835b5b55
commit fe2eca4fda
7 changed files with 204 additions and 42 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Controllers
{
[Route("[controller]/[action]")]
public class ErrorController : Controller
{
public IActionResult Handle(int? statusCode = null)
{
return View(statusCode);
}
}
}