mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add 'trace' to the data provided to Debugger formats.
Allows custom debugger output formats to display a stack trace.
This commit is contained in:
parent
9e080951b1
commit
dff45740ea
1 changed files with 1 additions and 0 deletions
|
@ -670,6 +670,7 @@ class Debugger {
|
|||
return;
|
||||
}
|
||||
|
||||
$data['trace'] = $trace;
|
||||
$data['id'] = 'cakeErr' . uniqid();
|
||||
$tpl = array_merge($this->_templates['base'], $this->_templates[$this->_outputFormat]);
|
||||
$insert = array('context' => join("\n", $context)) + $data;
|
||||
|
|
Loading…
Reference in a new issue