diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-20 05:01:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 11:01:20 +0100 |
commit | 59c8d43d94aa782848bf00f000512a04fca7c069 (patch) | |
tree | 24774d3dae3ee1d74d66f50b0f09630a0d9c9751 /lib/mastodon | |
parent | 62c4aecf8f3cb1e2bf1d0d1611084a3406a7adc0 (diff) |
Autofix Rubocop Style/RescueStandardError (#23745)
Diffstat (limited to 'lib/mastodon')
-rw-r--r-- | lib/mastodon/domains_cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/domains_cli.rb b/lib/mastodon/domains_cli.rb index 41ea5b152..05f08f462 100644 --- a/lib/mastodon/domains_cli.rb +++ b/lib/mastodon/domains_cli.rb @@ -165,7 +165,7 @@ module Mastodon stats[domain]['activity'] = Oj.load(res.to_s) end - rescue StandardError + rescue failed.increment ensure processed.increment |