Don't use puts here since it happens in tests

This commit is contained in:
Robin Ward
2018-04-30 12:26:43 -04:00
parent 319ea27389
commit 93b40d5e59

View File

@ -571,7 +571,7 @@ JS
DiscoursePluginRegistry.register_locale(locale, opts) DiscoursePluginRegistry.register_locale(locale, opts)
Rails.configuration.assets.precompile << "locales/#{locale}.js" Rails.configuration.assets.precompile << "locales/#{locale}.js"
else else
puts "Invalid locale! #{opts.inspect}" Rails.logger.error "Invalid locale! #{opts.inspect}"
end end
end end
end end