Skip to content

Commit 5251567

Browse files
Merge pull request rails#54004 from kmcphillips/km-error-reporting-guide-test
[Guides] Update error reporting docs to include `test` env in description of .unexpected
2 parents ea5db08 + 7b16946 commit 5251567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/error_reporting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ You can report any unexpected error by calling
182182
When called in production, this method will return nil after the error is
183183
reported and the execution of your code will continue.
184184

185-
When called in development, the error will be wrapped in a new error class (to
185+
When called in development or test, the error will be wrapped in a new error class (to
186186
ensure it's not being rescued higher in the stack) and surfaced to the developer
187187
for debugging.
188188

0 commit comments

Comments
 (0)