Skip to content

Commit

Permalink
Merge pull request #4434 from nebulab/waiting-for-dev/fail_smart
Browse files Browse the repository at this point in the history
Fail with `raise` when the storage adapter is not supported
  • Loading branch information
waiting-for-dev authored Jun 22, 2022
2 parents 0c6ad90 + 012db5c commit 57dc2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/concerns/spree/active_storage_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module ActiveStorageAdapter
included do
next if Rails.gem_version >= Gem::Version.new('6.1.0.alpha')

abort <<~MESSAGE
raise <<~MESSAGE
Configuration Error: Solidus ActiveStorage attachment adpater requires Rails >= 6.1.0.
Spree::Config.image_attachment_module preference is set to #{Spree::Config.image_attachment_module}
Expand Down

0 comments on commit 57dc2f1

Please sign in to comment.