ignore error handler as possible error source class
This commit is contained in:
1 parent
dab0db49aa
commit
402bbc1971
1 file changed
+1
-1
@@ -215,7 +215,7 @@ class ErrorHandler {
|
||||
foreach ($backtrace as $traceStep) {
|
||||
$traceString .= '#' . $stepCount . ': ';
|
||||
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'];
|
||||
}
|
||||
$traceString .= $traceStep['class'];
|
||||
|
||||
Reference in new issue
Block a user