Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Controllers / ErrorController.cs
diff options
context:
space:
mode:
Commit1055e501ca94d84bf528c6a33018ac47252ae044 (patch)
Author
 transtrike <transtrike@gmail.com>
2020-12-16 21:57:47 +0200
Committer
 transtrike <transtrike@gmail.com>
2020-12-16 21:57:47 +0200
Files2baf71509ce09a11718d9f8ee19e66bb749268d0 /src/DevHive.Web/Controllers/ErrorController.cs
DevHive-1055e501ca94d84bf528c6a33018ac47252ae044.tar
DevHive-1055e501ca94d84bf528c6a33018ac47252ae044.tar.gz
DevHive-1055e501ca94d84bf528c6a33018ac47252ae044.zip
Parent0a742d4372c91e02ad0267899c6d71368fa87446 (diff)
IRepository should return bool for void operations
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/DevHive.Web/Controllers/ErrorController.cs2
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);
}