correct Rails.logger call in resque initializer
This commit is contained in:
parent
0f5dbb0f83
commit
96fc057974
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ if AppConfig.single_process_mode?
|
|||
begin
|
||||
klass.send(:perform, *args)
|
||||
rescue Exception => e
|
||||
Rails.logger(e.message)
|
||||
Rails.logger.warn(e.message)
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue