File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ Set a custom from address.
37
37
config.email_error_reporter.from
= " [email protected] "
38
38
```
39
39
40
- Disables the email reports for specific environments. Mails are enabled by default on all envs.
40
+ ---
41
+
42
+ Disables the email reports for specific environments.
41
43
42
44
``` ruby
43
45
# e.g. in development.rb
@@ -51,10 +53,12 @@ You can use the built-in rake task `rake email_error_reporter:check` to check if
51
53
52
54
If you're using Kamal, you can run the following command to test the setup in production:
53
55
54
- ```
56
+ ``` sh
55
57
kamal app exec -p ' bundle exec rake email_error_reporter:test_email'
56
58
```
57
59
60
+ If everything is setup correctly, this rake task will send a demo email to your configured ` to ` address with a sample exception.
61
+
58
62
## License
59
63
60
64
The gem is available as open source under the terms of the [ MIT License] ( https://opensource.org/licenses/MIT ) .
You can’t perform that action at this time.
0 commit comments