diff --git a/lib/kmxgit_web/router.ex b/lib/kmxgit_web/router.ex
index ce5c8fa..4050573 100644
--- a/lib/kmxgit_web/router.ex
+++ b/lib/kmxgit_web/router.ex
@@ -168,7 +168,7 @@ end
use Plug.ErrorHandler
@impl Plug.ErrorHandler
def handle_errors(conn, params) do
- Discord.error(params)
+ Discord.error(conn, params)
send_resp(conn, conn.status, "Error ! We have been notified, please retry later.")
end
end