Commit 3f57293
authored
Exception should not be used for CustomErrors, replacing it with StandardError
Please don't use Exception for application errors, it can't be rescued in a normal catch block...
See here for best practices: https://www.honeybadger.io/blog/ruby-exception-vs-standarderror-whats-the-difference/1 parent 91dc495 commit 3f57293
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments