diff options
Diffstat (limited to 'src/DevHive.Web')
| -rw-r--r-- | src/DevHive.Web/Controllers/ErrorController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/ErrorController.cs b/src/DevHive.Web/Controllers/ErrorController.cs index f4c61ec..189b083 100644 --- a/src/DevHive.Web/Controllers/ErrorController.cs +++ b/src/DevHive.Web/Controllers/ErrorController.cs @@ -8,7 +8,7 @@ namespace DevHive.Web.Controllers public class ErrorController { [HttpGet] - public IActionResult Error(HttpRequestException exception) + public IActionResult Error(Exception exception) { return new BadRequestObjectResult(exception); } |
