We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Lint/RescueException
1 parent 8f9eec4 commit 97ea80dCopy full SHA for 97ea80d
.rubocop_todo.yml
@@ -5,10 +5,6 @@
5
# Note that changes in the inspected code, or installation of new
6
# versions of RuboCop, may require this file to be generated again.
7
8
-# Offense count: 1
9
-Lint/RescueException:
10
- Enabled: false
11
-
12
# Offense count: 2
13
Lint/ShadowingOuterLocalVariable:
14
Enabled: false
lib/mysql2/em.rb
@@ -17,7 +17,7 @@ def notify_readable
17
detach
18
begin
19
result = @client.async_result
20
- rescue Exception => e
+ rescue => e
21
@deferable.fail(e)
22
else
23
@deferable.succeed(result)
0 commit comments