Skip to content

Commit

Permalink
Merge pull request rails#54004 from kmcphillips/km-error-reporting-gu…
Browse files Browse the repository at this point in the history
…ide-test

[Guides] Update error reporting docs to include `test` env in description of .unexpected
  • Loading branch information
adrianna-chang-shopify authored Jan 6, 2025
2 parents ea5db08 + 7b16946 commit 5251567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/error_reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ You can report any unexpected error by calling
When called in production, this method will return nil after the error is
reported and the execution of your code will continue.

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

Expand Down

0 comments on commit 5251567

Please sign in to comment.