From: Alan Knowles Date: Wed, 6 Apr 2011 15:54:54 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=d8208121879eea0e3814014ac9e02445e981132a;p=Pman.Core NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 37d1633f..b2e3edfc 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -115,7 +115,7 @@ class Pman_Core_NotifySend extends Pman } if ($fail || $next_try_min > (2*24*60)) { // fail.. = log and give up.. - $id = $this->addEvent('NOTIFY', $w, 'FAILED - '. $res->toString()); + $id = $this->addEvent('NOTIFY', $w, 'FAILED - '. $fail ? $res->toString() : "RETRY TIME EXCEEDED"); $w->sent = date('Y-m-d H:i:s'); $w->msgid = ''; $w->event_id = $id;