mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-05-30 22:55:21 -04:00
P4DEVOPS-11504: fix RuboCop Style/RescueStandardError
This commit is contained in:
parent
6974beca3b
commit
64a510789c
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ if torun.include?(:api)
|
|||
Vmpooler.new_redis(redis_host, redis_port, redis_password, redis_reconnect_attempts)
|
||||
end
|
||||
Vmpooler::API.execute(torun, config, redis, metrics, logger)
|
||||
rescue => e
|
||||
rescue StandardError => e
|
||||
logger.log('s', "[!] [api] thread crashed: #{e.message}\n#{e.backtrace.join("\n")}")
|
||||
raise
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue