Skip to content

Commit

Permalink
Removed debug information.
Browse files Browse the repository at this point in the history
  • Loading branch information
martini committed Oct 16, 2018
1 parent a160c51 commit c35e2a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ def self.worker(foreground = false)
loop do
success, failure = Delayed::Worker.new.work_off
if failure.nonzero?
p Delayed::Job.where('last_error IS NOT NULL').to_json # rubocop:disable Rails/Output
raise "ERROR: #{failure} failed background jobs: #{Delayed::Job.where('last_error IS NOT NULL').inspect}"
end
break if success.zero?
Expand Down

0 comments on commit c35e2a0

Please sign in to comment.