Fix exception handler for E_NOTICE
This commit is contained in:
parent
a702d157cd
commit
2b792cff72
@ -34,7 +34,7 @@ function buildUserContext($xAuthToken) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function errorHandler($errorNumber, $errorMessage, $errorFile, $errorLine) {
|
function errorHandler($errorNumber, $errorMessage, $errorFile, $errorLine) {
|
||||||
throw new Exception(sprintf("%s:%d\n\n%s", $errorFile, $errorLine, $errorMessage));
|
exceptionHandler(new Exception(sprintf("%s:%d\n\n%s", $errorFile, $errorLine, $errorMessage)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user