skip fault exception as source class

This commit is contained in:
Steffen Schröder 2014-06-14 18:14:01 +02:00
parent a8ae27eb64
commit 8592b4d47d

View File

@ -202,7 +202,7 @@ class ErrorHandler {
foreach ($backtrace as $traceStep) {
$traceString .= '#' . $stepCount . ': ';
if (isset($traceStep['class'])) {
if (!$sourceClass) {
if (!$sourceClass && strpos($traceStep['class'], '\\FaultException') === false) {
$sourceClass = $traceStep['class'];
}
$traceString .= $traceStep['class'];