mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
use standard rails logger
This commit is contained in:
parent
3646d45110
commit
d0a51df4d0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ module Email
|
||||||
client_message = RejectionMailer.send_rejection(message_template, message.from, template_args)
|
client_message = RejectionMailer.send_rejection(message_template, message.from, template_args)
|
||||||
Email::Sender.new(client_message, message_template).send
|
Email::Sender.new(client_message, message_template).send
|
||||||
else
|
else
|
||||||
Discourse.handle_job_exception(e, error_context(@args, "Unrecognized error type when processing incoming email", mail: mail_string))
|
Rails.logger.error("Unrecognized error type (#{e}) when processing incoming email\n\nMail:\n#{mail_string}")
|
||||||
end
|
end
|
||||||
|
|
||||||
client_message
|
client_message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue