correct Rails.logger call in resque initializer

This commit is contained in:
Jonne Hass 2011-09-11 22:07:54 +02:00
parent 0f5dbb0f83
commit 96fc057974

View file

@ -15,7 +15,7 @@ if AppConfig.single_process_mode?
begin begin
klass.send(:perform, *args) klass.send(:perform, *args)
rescue Exception => e rescue Exception => e
Rails.logger(e.message) Rails.logger.warn(e.message)
nil nil
end end
end end