mirror of
https://github.com/bitwarden/server.git
synced 2025-07-05 01:52:49 -05:00
test exception
This commit is contained in:
@ -26,6 +26,13 @@ namespace Bit.Sso.Controllers
|
|||||||
return DateTime.UtcNow;
|
return DateTime.UtcNow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpGet("~/exception")]
|
||||||
|
[AllowAnonymous]
|
||||||
|
public DateTime GetException()
|
||||||
|
{
|
||||||
|
throw new Exception("this is a test exception");
|
||||||
|
}
|
||||||
|
|
||||||
[Route("~/Error")]
|
[Route("~/Error")]
|
||||||
[Route("~/Home/Error")]
|
[Route("~/Home/Error")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
|
Reference in New Issue
Block a user