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: docs/config.rst
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,3 +51,30 @@ Optional settings
51
51
52
52
Set this to true if you want to capture all exceptions that occur even outside of a request cycle. This
53
53
defaults to false.
54
+
55
+
Testing Your Configuration
56
+
--------------------------
57
+
58
+
To ensure you've set up your configuration correctly we recommend running the
59
+
included mix task. It can be tested on different Mix environments and will tell you if it is not currently configured to send events in that environment:
60
+
61
+
.. code-block:: bash
62
+
$ MIX_ENV=dev mix sentry.send_test_event
63
+
Client configuration:
64
+
server: https://sentry.io/
65
+
public_key: public
66
+
secret_key: secret
67
+
included_environments: [:prod]
68
+
current environment_name: :dev
69
+
70
+
:dev is not in [:prod] so no test event will be sent
0 commit comments