Fix reference to unused e to satisfy rubocop

This commit is contained in:
kirby@puppetlabs.com 2020-03-17 11:24:03 -07:00
parent 283dea62a7
commit 7597185fa4
2 changed files with 7 additions and 1 deletions

View file

@ -822,7 +822,7 @@ module Vmpooler
loop_count += 1
end
end
rescue Redis::CannotConnectError => e
rescue Redis::CannotConnectError
raise
rescue StandardError => e
$logger.log('s', "[!] [#{pool['name']}] Error while checking the pool: #{e}")