1
0
mirror of https://github.com/bitwarden/server synced 2025-12-11 05:43:35 +00:00

test exception

This commit is contained in:
Kyle Spearrin
2020-09-09 15:15:55 -04:00
parent a28a68889d
commit 4cb6ff395b

View File

@@ -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]