Skip to content

Commit 8244824

Browse files
committed
Add error tracker integration in dev app
1 parent 2635176 commit 8244824

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

dev.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Application.put_env(:error_tracker, ErrorTrackerDevWeb.Endpoint,
4141
]
4242
)
4343

44+
Application.put_env(:error_tracker, :repo, ErrorTrackerDev.Repo)
45+
4446
defmodule ErrorTrackerDevWeb.PageController do
4547
import Plug.Conn
4648

@@ -68,6 +70,7 @@ end
6870

6971
defmodule ErrorTrackerDevWeb.Router do
7072
use Phoenix.Router
73+
use ErrorTracker.Integrations.Plug
7174

7275
pipeline :browser do
7376
plug :fetch_session

0 commit comments

Comments
 (0)