ignore error handler as possible error source class
This commit is contained in:
parent
dab0db49aa
commit
402bbc1971
@ -215,7 +215,7 @@ class ErrorHandler {
|
|||||||
foreach ($backtrace as $traceStep) {
|
foreach ($backtrace as $traceStep) {
|
||||||
$traceString .= '#' . $stepCount . ': ';
|
$traceString .= '#' . $stepCount . ': ';
|
||||||
if (isset($traceStep['class'])) {
|
if (isset($traceStep['class'])) {
|
||||||
if (!$sourceClass && strpos($traceStep['class'], '\\FaultException') === false) {
|
if (!$sourceClass && strpos($traceStep['class'], '\\FaultException') === false && strpos($traceStep['class'], '\\ErrorHandler') === false) {
|
||||||
$sourceClass = $traceStep['class'];
|
$sourceClass = $traceStep['class'];
|
||||||
}
|
}
|
||||||
$traceString .= $traceStep['class'];
|
$traceString .= $traceStep['class'];
|
||||||
|
Loading…
Reference in New Issue
Block a user