changed logging

This commit is contained in:
Roland Gruber 2017-10-25 20:40:28 +02:00
parent 6a3f31aa30
commit 4cb8aec794
1 changed files with 2 additions and 2 deletions

View File

@ -500,12 +500,12 @@ function dryRun() {
function multiEditLdapErrorHandler($errno, $errstr, $errfile, $errline) {
switch ($errno) {
case E_USER_ERROR:
logNewMessage(LOG_ERR, 'Error occured: ' . $errstr);
logNewMessage(LOG_ERR, 'Error occured: ' . $errstr . " ($errfile: $errline)");
$_REQUEST['multiEdit_error'] = true;
;
break;
case E_USER_WARNING:
logNewMessage(LOG_WARNING, 'Error occured: ' . $errstr);
logNewMessage(LOG_WARNING, 'Error occured: ' . $errstr . " ($errfile: $errline)");
$_REQUEST['multiEdit_error'] = true;
;
break;