mirror of
https://github.com/internetee/registry.git
synced 2025-08-11 20:19:34 +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
|
begin
|
||||||
con = ActiveRecord::Base.connection
|
con = ActiveRecord::Base.connection
|
||||||
rescue ActiveRecord::NoDatabaseError => e
|
rescue ActiveRecord::NoDatabaseError => e
|
||||||
logger.info "Init settings didn't find database: #{e}"
|
Rails.logger.info "Init settings didn't find database: #{e}"
|
||||||
end
|
end
|
||||||
|
|
||||||
if con.present? && con.table_exists?('settings')
|
if con.present? && con.table_exists?('settings')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue