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: README.md
+51-10Lines changed: 51 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ defp deps do
27
27
[
28
28
# ...
29
29
30
-
{:sentry, "~> 10.0"},
31
-
{:hackney, "~> 1.19"}
30
+
{:sentry, "~> 10.8"},
31
+
{:hackney, "~> 1.20"}
32
32
]
33
33
end
34
34
```
@@ -40,7 +40,7 @@ end
40
40
>defp deps do
41
41
> [
42
42
># ...
43
-
> {:sentry, "~> 10.0"},
43
+
> {:sentry, "~> 10.8.1"},
44
44
> {:jason, "~> 1.4"}
45
45
> ]
46
46
>end
@@ -61,17 +61,58 @@ config :sentry,
61
61
62
62
### Usage
63
63
64
-
This library comes with a [`:logger` handler][logger-handlers] to capture error messages coming from process crashes. To enable this, add the handler when your application starts:
64
+
This library comes with a [`:logger` handler][logger-handlers] to capture error messages coming from process crashes. To enable this, add [`Sentry.LoggerHandler`](https://hexdocs.pm/sentry/Sentry.LoggerHandler.html) to your production configuration:
See all logger configuration options [here](https://hexdocs.pm/sentry/Sentry.LoggerHandler.html).
114
+
115
+
#### Capture exceptions manually
75
116
76
117
Sometimes you want to capture specific exceptions manually. To do so, use [`Sentry.capture_exception/2`](https://hexdocs.pm/sentry/Sentry.html#capture_exception/2).
0 commit comments