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.
2 parents f3aea8c + 89370d2 commit 60fac85Copy full SHA for 60fac85
lib/rails_semantic_logger/action_mailer/log_subscriber.rb
@@ -92,7 +92,7 @@ def action
92
end
93
94
def formatted_args
95
- if defined?(mailer.contantize.log_arguments?) && !mailer.contantize.log_arguments?
+ if defined?(mailer.constantize.log_arguments?) && !mailer.constantize.log_arguments?
96
""
97
else
98
JSON.pretty_generate(event.payload[:args].map { |arg| format(arg) }) if event.payload[:args].present?
0 commit comments