mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +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']);
|
||||
}
|
||||
|
||||
if (isset($track['args'])) {
|
||||
foreach ($track['args'] as $key => $arg) {
|
||||
if (is_object($arg)) {
|
||||
$track['args'][$key] = '[object ' . $this->getDataFormatter()->formatClassName($arg) . ']';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $track;
|
||||
}, $trace);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user