mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
give more details about failure on sending when available
This commit is contained in:
parent
da934bafb0
commit
68eb20424c
@ -2918,7 +2918,8 @@ class mail_compose
|
||||
}
|
||||
catch(Exception $e) {
|
||||
_egw_log_exception($e);
|
||||
$this->errorInfo = $e->getMessage();
|
||||
//if( $e->details ) error_log(__METHOD__.__LINE__.array2string($e->details));
|
||||
$this->errorInfo = $e->getMessage().($e->details?'<br/>'.$e->details:'');
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user