Bump the depth of variables in stack traces to 4.

Giving more context allows developer to look at request/response data
more easily.

Fixes #5005
This commit is contained in:
mark_story 2014-10-29 21:43:18 -04:00
parent a0aac5cfa9
commit 1e8f12f9f5

View file

@ -45,7 +45,7 @@ App::uses('Debugger', 'Utility');
if (!empty($stack['args'])):
foreach ((array)$stack['args'] as $arg):
$args[] = Debugger::getType($arg);
$params[] = Debugger::exportVar($arg, 2);
$params[] = Debugger::exportVar($arg, 4);
endforeach;
endif;