You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/wizard/elixir/index.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -85,11 +85,15 @@ plug Sentry.PlugContext
85
85
86
86
`Sentry.PlugContext` gathers the contextual information for errors, and `Sentry.PlugCapture` captures and sends any errors that occur in the Plug stack. `Sentry.PlugContext` should be below `Plug.Parsers` if you are using it.
87
87
88
-
To capture crashed crashed process exceptions, add `Sentry.LoggerBackend` to your Logger backends:
88
+
### Capture Crashed Process Exceptions
89
89
90
-
```
91
-
config :logger,
92
-
backends: [:console, Sentry.LoggerBackend]
90
+
This library comes with an extension to capture all error messages that the Plug handler might not. This is based on [Logger.Backend](https://hexdocs.pm/logger/Logger.html#module-backends). You can add it as a backend when your application starts:
0 commit comments