Relax error restriction in initializer (#35321)
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
				
			|||||||
Rails.application.config.to_prepare do
 | 
					Rails.application.config.to_prepare do
 | 
				
			||||||
  custom_css = begin
 | 
					  custom_css = begin
 | 
				
			||||||
    Setting.custom_css
 | 
					    Setting.custom_css
 | 
				
			||||||
  rescue ActiveRecord::AdapterError # Running without a database, not migrated, no connection, etc
 | 
					  rescue # Running without a cache, database, not migrated, no connection, etc
 | 
				
			||||||
    nil
 | 
					    nil
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user