[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9005] activitycalendar: log email-error
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9005] activitycalendar: log email-error |
Date: |
Wed, 21 Mar 2012 10:03:46 +0000 |
Revision: 9005
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9005
Author: sigurdne
Date: 2012-03-21 10:03:46 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
activitycalendar: log email-error
Modified Paths:
--------------
trunk/activitycalendar/inc/class.uiactivities.inc.php
Modified: trunk/activitycalendar/inc/class.uiactivities.inc.php
===================================================================
--- trunk/activitycalendar/inc/class.uiactivities.inc.php 2012-03-21
09:38:31 UTC (rev 9004)
+++ trunk/activitycalendar/inc/class.uiactivities.inc.php 2012-03-21
10:03:46 UTC (rev 9005)
@@ -520,7 +520,16 @@
}
catch (phpmailerException $e)
{
- //var_dump($e);
+ if($e)
+ {
+ $GLOBALS['phpgw']->log->error(array(
+ 'text' =>
'uiactivities::send_mailnotification_to_organization() : error when trying to
execute %1. Error: %2',
+ 'p1' => 'send()',
+ 'p2' => $e->getMessage(),
+ 'line' => __LINE__,
+ 'file' => __FILE__
+ ));
+ }
}
}
}
@@ -555,6 +564,16 @@
}
catch (phpmailerException $e)
{
+ if($e)
+ {
+ $GLOBALS['phpgw']->log->error(array(
+ 'text' =>
'uiactivities::send_mailnotification_to_group() : error when trying to execute
%1. Error: %2',
+ 'p1' => 'send()',
+ 'p2' => $e->getMessage(),
+ 'line' => __LINE__,
+ 'file' => __FILE__
+ ));
+ }
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9005] activitycalendar: log email-error,
Sigurd Nes <=