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.
1 parent 36b037d commit f389e18Copy full SHA for f389e18
.rubocop_todo.yml
@@ -46,11 +46,6 @@ Lint/AmbiguousBlockAssociation:
46
Exclude:
47
- 'spec/mysql2/client_spec.rb'
48
49
-# Offense count: 1
50
-Lint/RescueWithoutErrorClass:
51
- Exclude:
52
- - 'lib/mysql2/em.rb'
53
-
54
# Offense count: 2
55
# Cop supports --auto-correct.
56
Lint/UnifiedInteger:
lib/mysql2/em.rb
@@ -17,7 +17,7 @@ def notify_readable
17
detach
18
begin
19
result = @client.async_result
20
- rescue => e
+ rescue StandardError => e
21
@deferable.fail(e)
22
else
23
@deferable.succeed(result)
0 commit comments