more debug information for notification failure

This commit is contained in:
Klaus Leithoff 2008-12-09 14:02:15 +00:00
parent 80c3da850d
commit a6d7f0caf3

View File

@ -104,7 +104,7 @@ class notifications_email implements notifications_iface {
}
}
if(!$error=$this->mail->Send()) {
throw new Exception("Failed sending notification message via email.$error");
throw new Exception("Failed sending notification message via email.$error".print_r($this->mail->ErrorInfo,true));
}
}