ignore error handler as possible error source class

This commit is contained in:
Steffen Schröder 2014-06-19 02:22:32 +02:00
parent dab0db49aa
commit 402bbc1971

View File

@ -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'];