Permalink
Browse files

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
  • Loading branch information...
markstory committed Oct 30, 2014
1 parent a0aac5c commit 1e8f12f9f51f0d804220bf9b08c3602a204c7e8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Elements/exception_stack_trace.ctp
@@ -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;

0 comments on commit 1e8f12f

Please sign in to comment.