aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/ErrorController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs
index 4c5d9ef..6757804 100644
--- a/API/Controllers/ErrorController.cs
+++ b/API/Controllers/ErrorController.cs
@@ -2,10 +2,10 @@ using System;
namespace API.Controllers
{
+ [ApiController]
public class ErrorController
{
- //FIXME: SHOULD NOT BE VOID
- public void Error(Exception exception)
+ public HttpStatusCode Error(Exception exception)
{
}