Skip to content

Commit 6e272a7

Browse files
Refine wording
Co-authored-by: Andrea Leopardi <[email protected]>
1 parent 803c51d commit 6e272a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/sentry/plug_capture.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ defmodule Sentry.PlugCapture do
55
It is intended for usage with `Sentry.PlugContext`, which adds relevant request
66
metadata to the Sentry context before errors are captured.
77
8-
> #### Cowboy only {: .info}
8+
> #### Only for Cowboy {: .info}
99
>
10-
> Note that `Sentry.PlugCapture` is only recommended for Cowboy applications.
11-
For applications running on Bandit, which is the default in Phoenix,
12-
`Sentry.PlugContext` should be enough, and using `Sentry.PlugCapture` might
13-
result in duplicate errors.
10+
> `Sentry.PlugCapture` is only recommended for Cowboy applications.
11+
> For applications running on Bandit, which is the most recent default webserver
12+
> in Phoenix, `Sentry.PlugContext` should be enough, and using `Sentry.PlugCapture`
13+
> might result in duplicate errors.
1414
1515
## Usage
1616

0 commit comments

Comments
 (0)