mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-17 05:18:32 +01:00
Remove trace args in Exceptions
This commit is contained in:
parent
689720d724
commit
6c17e0ea44
@ -98,6 +98,14 @@ class ExceptionsCollector extends DataCollector implements Renderable
|
|||||||
$track['file'] = $this->normalizeFilePath($track['file']);
|
$track['file'] = $this->normalizeFilePath($track['file']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($track['args'])) {
|
||||||
|
foreach ($track['args'] as $key => $arg) {
|
||||||
|
if (is_object($arg)) {
|
||||||
|
$track['args'][$key] = '[object ' . $this->getDataFormatter()->formatClassName($arg) . ']';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $track;
|
return $track;
|
||||||
}, $trace);
|
}, $trace);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user