mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Fixed rake Rails logger
This commit is contained in:
parent
eb3a0dd629
commit
5f40db94ba
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
begin
|
||||
con = ActiveRecord::Base.connection
|
||||
rescue ActiveRecord::NoDatabaseError => e
|
||||
logger.info "Init settings didn't find database: #{e}"
|
||||
Rails.logger.info "Init settings didn't find database: #{e}"
|
||||
end
|
||||
|
||||
if con.present? && con.table_exists?('settings')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue