From d217c08ab08953e79ac94403de32531d97cca0a5 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 23 Feb 2023 14:50:07 +1000 Subject: [PATCH] Exception status code changed --- .../Controllers/HealthController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServerManager.WebApplication/Controllers/HealthController.cs b/src/ServerManager.WebApplication/Controllers/HealthController.cs index a2883b09..8f677e03 100644 --- a/src/ServerManager.WebApplication/Controllers/HealthController.cs +++ b/src/ServerManager.WebApplication/Controllers/HealthController.cs @@ -21,7 +21,7 @@ public class HealthController : ControllerBase } catch { - return StatusCode(StatusCodes.Status500InternalServerError, false); + return StatusCode(StatusCodes.Status500InternalServerError); } } }