diff options
author | Andrew Dolgov <[email protected]> | 2020-09-29 10:08:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-29 10:08:54 +0300 |
commit | 82bc740363e8d9f3c7a070444b0d1fae45f837c7 (patch) | |
tree | 32ef56f47d50c1653a1d39c4ee7082a7d3f4016b /classes/mailer.php | |
parent | 3b17c45887ecfa98779be53b30125e636dd9a783 (diff) |
Logger::log - allow specifying errno
bump severity of PDO exception log messages to E_USER_WARNING
Diffstat (limited to 'classes/mailer.php')
-rw-r--r-- | classes/mailer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/mailer.php b/classes/mailer.php index 2919eec79..16be16523 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -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 |