We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed1c36 commit 38ef270Copy full SHA for 38ef270
react_on_rails_pro/lib/react_on_rails_pro/engine.rb
@@ -15,13 +15,9 @@ class Engine < Rails::Engine
15
config.after_initialize do
16
Rails.logger.info "[React on Rails Pro] Validating license..."
17
18
- if ReactOnRailsPro::LicenseValidator.validate!
19
- Rails.logger.info "[React on Rails Pro] License validation successful"
20
- else
21
- # License validation will raise an error, so this line won't be reached
22
- # But we include it for clarity
23
- Rails.logger.error "[React on Rails Pro] License validation failed"
24
- end
+ ReactOnRailsPro::LicenseValidator.validate!
+
+ Rails.logger.info "[React on Rails Pro] License validation successful"
25
end
26
27
0 commit comments