Skip to content

Commit 4f9c65f

Browse files
committed
We no longer rescue Exception in many places.
1 parent 576071c commit 4f9c65f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis/.rubocop_rspec_base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ Proc:
9898
RedundantReturn:
9999
AllowMultipleReturnValues: true
100100

101-
# We have to rescue Exception in the `raise_error` matcher for it to work properly.
101+
# Exceptions should be rescued with `Support::AllExceptionsExceptOnesWeMustNotRescue`
102102
RescueException:
103-
Enabled: false
103+
Enabled: true
104104

105105
# We haven't adopted the `fail` to signal exceptions vs `raise` for re-raises convention.
106106
SignalException:

0 commit comments

Comments
 (0)