Skip to content

Commit

Permalink
Bump the depth of variables in stack traces to 4.
Browse files Browse the repository at this point in the history
Giving more context allows developer to look at request/response data
more easily.

Fixes #5005
  • Loading branch information
markstory committed Oct 30, 2014
1 parent a0aac5c commit 1e8f12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/Elements/exception_stack_trace.ctp
Expand Up @@ -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;

Expand Down

0 comments on commit 1e8f12f

Please sign in to comment.