Commit 536d180f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Rescue from failed feature lookups

parent 9f71d02e
...@@ -253,6 +253,10 @@ module Gitlab ...@@ -253,6 +253,10 @@ module Gitlab
else else
false false
end end
rescue => ex
# During application startup feature lookups in SQL can fail
Rails.logger.warn "exception while checking Gitaly feature status for #{feature_name}: #{ex}"
false
end end
# opt_into_all_features? returns true when the current environment # opt_into_all_features? returns true when the current environment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment