lib/resque/scheduler.rb in resque-scheduler-3.0.0 vs lib/resque/scheduler.rb in resque-scheduler-3.1.0

- old
+ new

@@ -204,11 +204,11 @@ exit if @shutdown end def handle_errors yield - rescue Exception => e + rescue => e log_error "#{e.class.name}: #{e.message}" end # Enqueues a job based on a config hash def enqueue_from_config(job_config) @@ -334,10 +334,10 @@ sleep(remaining_sleep) handle_signals rescue Interrupt if @shutdown Resque.clean_schedules - release_master_lock! + release_master_lock end break end end end