Autofix Rubocop Style/RescueStandardError (#23745)
This commit is contained in:
parent
62c4aecf8f
commit
59c8d43d94
6 changed files with 9 additions and 24 deletions
|
@ -165,7 +165,7 @@ module Mastodon
|
|||
|
||||
stats[domain]['activity'] = Oj.load(res.to_s)
|
||||
end
|
||||
rescue StandardError
|
||||
rescue
|
||||
failed.increment
|
||||
ensure
|
||||
processed.increment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue