Stop skipping stack frames (#425)

This commit is contained in:
Dylan K. Taylor
2017-03-19 10:24:33 +00:00
committed by GitHub
parent 66fbfdd47b
commit 4c61ad9f2d
4 changed files with 7 additions and 10 deletions

View File

@ -143,7 +143,7 @@ class CrashDump{
$error = $lastExceptionError;
}else{
$error = (array) error_get_last();
$error["trace"] = @getTrace(3);
$error["trace"] = getTrace(4); //Skipping CrashDump->baseCrash, CrashDump->construct, Server->crashDump
$errorConversion = [
E_ERROR => "E_ERROR",
E_WARNING => "E_WARNING",