1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01: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]