mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
more details on error
This commit is contained in:
parent
8bb2946e2a
commit
f88089f1cf
@ -952,8 +952,9 @@ class Mail
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
error_log(__METHOD__.' ('.__LINE__.') '."->open connection for Server with profileID:".$_icServerID." trying to examine ($mailbox) failed!".$e->getMessage());
|
||||
throw new Exception(__METHOD__." failed to ".__METHOD__." on Profile to $_icServerID while trying to examine $mailbox:".$e->getMessage());
|
||||
_egw_log_exception($e);
|
||||
throw new Exception(__METHOD__." failed to open connection on Profile to $_icServerID while trying to examine $mailbox: ".$e->getMessage().
|
||||
(!empty($e->details) ? ': '.$e->details : ''), 100, $e);
|
||||
}
|
||||
if (self::$debugTimes) self::logRunTimes($starttime,null,'ProfileID:'.$_icServerID,__METHOD__.' ('.__LINE__.') ');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user