Fixed bug: Logger is not present.
This commit is contained in:
parent
7d9eed3dfb
commit
d80ddecc44
1 changed files with 3 additions and 5 deletions
|
@ -18,11 +18,9 @@ module Channel::EmailSend
|
||||||
|
|
||||||
channel_instance.disconnect
|
channel_instance.disconnect
|
||||||
rescue => e
|
rescue => e
|
||||||
logger.error "Can't use Channel::#{channel[:adapter]}"
|
Rails.logger.error "Can't use Channel::#{channel[:adapter]}"
|
||||||
logger.error e.inspect
|
Rails.logger.error e.inspect
|
||||||
logger.error e.backtrace
|
Rails.logger.error e.backtrace
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue