]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/banners.rb
Merge remote-tracking branch 'upstream/pull/4297'
[rails.git] / config / initializers / banners.rb
index 5c83c045d777266178e66ce2f19d9e61fc470005..c7ff281f30d721f2c31263bbbdeb703e01417d44 100644 (file)
@@ -1,5 +1,5 @@
 begin
 begin
-  BANNERS = YAML.load_file(Rails.root.join("config", "banners.yml")).deep_symbolize_keys
-rescue
+  BANNERS = YAML.load_file(Rails.root.join("config/banners.yml")).deep_symbolize_keys
+rescue StandardError
   BANNERS = {}.freeze
 end
   BANNERS = {}.freeze
 end