From 4cb6ff395b648da7f84c58642a58da5c76bc79f5 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 9 Sep 2020 15:15:55 -0400 Subject: [PATCH] test exception --- bitwarden_license/src/Sso/Controllers/HomeController.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bitwarden_license/src/Sso/Controllers/HomeController.cs b/bitwarden_license/src/Sso/Controllers/HomeController.cs index 7536a1ca43..3f70e2f448 100644 --- a/bitwarden_license/src/Sso/Controllers/HomeController.cs +++ b/bitwarden_license/src/Sso/Controllers/HomeController.cs @@ -26,6 +26,13 @@ namespace Bit.Sso.Controllers return DateTime.UtcNow; } + [HttpGet("~/exception")] + [AllowAnonymous] + public DateTime GetException() + { + throw new Exception("this is a test exception"); + } + [Route("~/Error")] [Route("~/Home/Error")] [AllowAnonymous]