Fix exception handler for E_NOTICE

remotes/upstream/api-rewrite
Mike Koch 7 years ago
parent a702d157cd
commit 2b792cff72

@ -34,7 +34,7 @@ function buildUserContext($xAuthToken) {
}
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…
Cancel
Save