Skip to content

Commit 7b16946

Browse files
committed
Include test env in description of .unexpected
1 parent 9af3004 commit 7b16946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/error_reporting.md

Lines changed: 1 addition & 1 deletion
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)