From 72532a2a8f62944c0b0bc2e78500fe441e91a313 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 24 Jul 2018 13:31:34 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mailer.php b/Mailer.php index 39f76ef3..832b6b95 100644 --- a/Mailer.php +++ b/Mailer.php @@ -321,9 +321,8 @@ class Pman_Core_Mailer { $pg = $ff->page; - $ts = microtime(true); $email = is_array($email) ? $email : $this->toData(); - print_r(microtime(true) - $ts);exit; + if (is_a($email, 'PEAR_Error')) { $pg->addEvent("COREMAILER-FAIL", false, "email toData failed"); -- 2.39.2