DEV: Use warn instead of info for Rails logger (#231)
Follow up to: e92dd39928
This commit is contained in:
parent
e92dd39928
commit
71643a023d
|
@ -32,7 +32,7 @@ module DiscourseSubscriptions
|
|||
checkout_session = event[:data][:object]
|
||||
|
||||
if SiteSetting.discourse_subscriptions_enable_verbose_logging
|
||||
Rails.logger.info("checkout.session.completed data: #{checkout_session}")
|
||||
Rails.logger.warn("checkout.session.completed data: #{checkout_session}")
|
||||
end
|
||||
email = checkout_session[:customer_email]
|
||||
|
||||
|
@ -43,7 +43,7 @@ module DiscourseSubscriptions
|
|||
customer_id = checkout_session[:customer]
|
||||
|
||||
if SiteSetting.discourse_subscriptions_enable_verbose_logging
|
||||
Rails.logger.info("Looking up user with email: #{email}")
|
||||
Rails.logger.warn("Looking up user with email: #{email}")
|
||||
end
|
||||
|
||||
user = ::User.find_by_username_or_email(email)
|
||||
|
|
Loading…
Reference in New Issue