Skip to content

Commit

Permalink
log to error log
Browse files Browse the repository at this point in the history
log_error
  • Loading branch information
taf2 committed Nov 28, 2016
1 parent 0af76a8 commit d5325b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def load_schedule_job(name, config)
interval_defined = true

rescue => e
log "[Bad Schedule] ignoring with: #{e.message}\n#{e.backtrace.join("\n")}"
log_error "[Bad Schedule] ignoring with: #{e.message}\n#{e.backtrace.join("\n")}"
end
break
end
Expand Down

0 comments on commit d5325b8

Please sign in to comment.