bin/rocketjob in rocketjob-3.4.3 vs bin/rocketjob in rocketjob-3.5.0
- old
+ new
@@ -4,10 +4,10 @@
require 'rocket_job/cli'
# Start a rocketjob server instance from the command line
begin
RocketJob::CLI.new(ARGV).run
-rescue => exc
+rescue Exception => exc
# Failsafe logger that writes to STDERR
SemanticLogger.add_appender(io: STDERR, level: :error, formatter: :color)
SemanticLogger['RocketJob'].error('Rocket Job shutting down due to exception', exc)
SemanticLogger.flush
exit 1