This commit is contained in:
2019-10-23 18:00:48 +00:00
parent d1a7b71f60
commit d0afd4a870
2 changed files with 2 additions and 1 deletions

View File

@@ -376,7 +376,7 @@ namespace AyaNova.Api.Controllers
[HttpGet("exception")]
public ActionResult GetException()
{
log.LogInformation("Widget::getexception-> Test exception and log from controller test");
//log.LogInformation("Widget::getexception-> Test exception and log from controller test");
if (!serverState.IsOpen)
return StatusCode(503, new ApiErrorResponse(ApiErrorCode.API_CLOSED, null, serverState.Reason));
throw new System.NotSupportedException("Test exception from widget controller");