[varDumper] Fix missing usage of ExceptionCaster::$traceArgs

This commit is contained in:
Nicolas Grekas 2016-07-05 14:03:54 +02:00
parent 5053ae2140
commit 6c5237ca36
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class ExceptionCaster
'file' => $a[Caster::PREFIX_PROTECTED.'file'],
'line' => $a[Caster::PREFIX_PROTECTED.'line'],
));
$a[$xPrefix.'trace'] = new TraceStub($trace);
$a[$xPrefix.'trace'] = new TraceStub($trace, self::$traceArgs);
}
if (empty($a[$xPrefix.'previous'])) {
unset($a[$xPrefix.'previous']);