changed logging
This commit is contained in:
parent
6a3f31aa30
commit
4cb8aec794
|
@ -500,12 +500,12 @@ function dryRun() {
|
||||||
function multiEditLdapErrorHandler($errno, $errstr, $errfile, $errline) {
|
function multiEditLdapErrorHandler($errno, $errstr, $errfile, $errline) {
|
||||||
switch ($errno) {
|
switch ($errno) {
|
||||||
case E_USER_ERROR:
|
case E_USER_ERROR:
|
||||||
logNewMessage(LOG_ERR, 'Error occured: ' . $errstr);
|
logNewMessage(LOG_ERR, 'Error occured: ' . $errstr . " ($errfile: $errline)");
|
||||||
$_REQUEST['multiEdit_error'] = true;
|
$_REQUEST['multiEdit_error'] = true;
|
||||||
;
|
;
|
||||||
break;
|
break;
|
||||||
case E_USER_WARNING:
|
case E_USER_WARNING:
|
||||||
logNewMessage(LOG_WARNING, 'Error occured: ' . $errstr);
|
logNewMessage(LOG_WARNING, 'Error occured: ' . $errstr . " ($errfile: $errline)");
|
||||||
$_REQUEST['multiEdit_error'] = true;
|
$_REQUEST['multiEdit_error'] = true;
|
||||||
;
|
;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue