Report all errors to Honeybadger
This commit is contained in:
+2
-1
@@ -136,7 +136,8 @@ config :honeybadger,
|
||||
app: :music_library,
|
||||
environment_name: config_env(),
|
||||
# Enable logging and performance insights
|
||||
insights_enabled: true
|
||||
insights_enabled: true,
|
||||
use_logger: true
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
defmodule MusicLibraryWeb.Router do
|
||||
use MusicLibraryWeb, :router
|
||||
use Honeybadger.Plug
|
||||
|
||||
import MusicLibraryWeb.Auth, only: [require_logged_in: 2, require_api_token: 2]
|
||||
import Oban.Web.Router
|
||||
|
||||
Reference in New Issue
Block a user