give more details about failure on sending when available

This commit is contained in:
Klaus Leithoff 2015-12-15 16:13:01 +00:00
parent da934bafb0
commit 68eb20424c

View File

@ -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 {