fix: flipper initialization when db down
This commit is contained in:
parent
3e193675aa
commit
4955f5d6ec
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ features = [
|
|||
def database_exists?
|
||||
ActiveRecord::Base.connection
|
||||
true
|
||||
rescue ActiveRecord::NoDatabaseError, PG::ConnectionBad
|
||||
rescue ActiveRecord::ConnectionNotEstablished, ActiveRecord::NoDatabaseError, PG::ConnectionBad
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue