diff --git a/lib/db.rb b/lib/db.rb index f276a8eb7..a6184c095 100644 --- a/lib/db.rb +++ b/lib/db.rb @@ -35,8 +35,9 @@ def self.connect db_credentials end def self.connection_for_env env - logger.info "Connecting to #{env} database." - connect configuration_for_env(env) + config = configuration_for_env(env) + logger.info "Connecting to #{env} database #{config['database']}." + connect config end def self.configuration_for_env env