Relax error restriction in initializer (#35321)

This commit is contained in:
David Roetzel 2025-07-09 16:22:47 +02:00 committed by GitHub
parent e7c5c25de8
commit 786b12e379
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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