Fix exception handler for E_NOTICE

This commit is contained in:
Mike Koch 2017-02-02 21:22:04 -05:00
parent a702d157cd
commit 2b792cff72

View File

@ -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)));
}
/**