mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
use standard rails logger
This commit is contained in:
parent
3646d45110
commit
d0a51df4d0
@ -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…
Reference in New Issue
Block a user