Relax error restriction in initializer (#35321)
This commit is contained in:
parent
81b363b338
commit
fb3ff194b5
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Rails.application.config.to_prepare do
|
||||
custom_css = begin
|
||||
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
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue