Skip to content

Commit 69b96ff

Browse files
committed
fix: solve mail logger warning
1 parent 9a7c909 commit 69b96ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
}
9696
else
9797
config.action_mailer.delivery_method = :test
98-
Rails.logger.warn '[Mailer] SMTP_USERNAME/SMTP_PASSWORD not set — mail delivery disabled (using :test adapter)'
98+
warn '[Mailer] SMTP_USERNAME/SMTP_PASSWORD not set — mail delivery disabled (using :test adapter)'
9999
end
100100

101101
config.i18n.fallbacks = true

0 commit comments

Comments
 (0)