Report all errors to Honeybadger

This commit is contained in:
Claudio Ortolina
2026-02-26 20:47:16 +00:00
parent 205c1409e3
commit 77c5453fa8
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -136,7 +136,8 @@ config :honeybadger,
app: :music_library, app: :music_library,
environment_name: config_env(), environment_name: config_env(),
# Enable logging and performance insights # Enable logging and performance insights
insights_enabled: true insights_enabled: true,
use_logger: true
# Import environment specific config. This must remain at the bottom # Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above. # of this file so it overrides the configuration defined above.
+1
View File
@@ -1,5 +1,6 @@
defmodule MusicLibraryWeb.Router do defmodule MusicLibraryWeb.Router do
use MusicLibraryWeb, :router use MusicLibraryWeb, :router
use Honeybadger.Plug
import MusicLibraryWeb.Auth, only: [require_logged_in: 2, require_api_token: 2] import MusicLibraryWeb.Auth, only: [require_logged_in: 2, require_api_token: 2]
import Oban.Web.Router import Oban.Web.Router