mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:15:56 +00:00
Logger::log - allow specifying errno
bump severity of PDO exception log messages to E_USER_WARNING
This commit is contained in:
@@ -20,7 +20,7 @@ class Mailer {
|
||||
$to_combined = $to_name ? "$to_name <$to_address>" : $to_address;
|
||||
|
||||
if (defined('_LOG_SENT_MAIL') && _LOG_SENT_MAIL)
|
||||
Logger::get()->log("Sending mail from $from_combined to $to_combined [$subject]: $message");
|
||||
Logger::get()->log(E_USER_NOTICE, "Sending mail from $from_combined to $to_combined [$subject]: $message");
|
||||
|
||||
// HOOK_SEND_MAIL plugin instructions:
|
||||
// 1. return 1 or true if mail is handled
|
||||
|
||||
Reference in New Issue
Block a user