diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feature/gitaly.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feature/gitaly.rb b/lib/feature/gitaly.rb index c23d7025d0f..0ac2d017e1a 100644 --- a/lib/feature/gitaly.rb +++ b/lib/feature/gitaly.rb @@ -19,7 +19,7 @@ class Feature default_on = DEFAULT_ON_FLAGS.include?(feature_flag) Feature.enabled?("gitaly_#{feature_flag}", default_enabled: default_on) - rescue ActiveRecord::NoDatabaseError + rescue ActiveRecord::NoDatabaseError, PG::ConnectionBad false end |