Commit 464abd57fd312e365757382d8108a819b0a3571f

Thomas de Grivel 2022-02-03T12:32:30

fix

1
2
3
4
5
6
7
8
9
10
11
12
13
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