DEV: Use warn instead of info for Rails logger (#231)

Follow up to: e92dd39928
This commit is contained in:
Blake Erickson 2024-08-28 09:17:08 -06:00 committed by GitHub
parent e92dd39928
commit 71643a023d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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