]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/banners.rb
Remove expand_bbox endpoint
[rails.git] / config / initializers / banners.rb
index 5c83c045d777266178e66ce2f19d9e61fc470005..8eda290c57d2e1d7c5d6fe9cabc21df2155d9d21 100644 (file)
@@ -1,5 +1,5 @@
 begin
   BANNERS = YAML.load_file(Rails.root.join("config", "banners.yml")).deep_symbolize_keys
 begin
   BANNERS = YAML.load_file(Rails.root.join("config", "banners.yml")).deep_symbolize_keys
-rescue
+rescue StandardError
   BANNERS = {}.freeze
 end
   BANNERS = {}.freeze
 end