give more details about possible error

This commit is contained in:
leithoff 2016-06-24 14:28:49 +02:00
parent 009afc76e1
commit 2b925a44af

View File

@ -1076,7 +1076,7 @@ class admin_mail
catch (Horde_Imap_Client_Exception $e)
{
_egw_log_exception($e);
$tpl->set_validation_error('acc_imap_admin_username', $msg=lang($e->getMessage()));
$tpl->set_validation_error('acc_imap_admin_username', $msg=lang($e->getMessage()).($e->details?', '.lang($e->details):''));
$msg_type = 'error';
$content['tabs'] = 'admin.mailaccount.imap'; // should happen automatic
break;