mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
test exception
This commit is contained in:
parent
a28a68889d
commit
4cb6ff395b
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user