mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
a0aac5cfa9
commit
1e8f12f9f5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue