Permalink
Browse files

Add 'trace' to the data provided to Debugger formats.

Allows custom debugger output formats to display
a stack trace.
  • Loading branch information...
1 parent 9e08095 commit dff45740ea4d4e37ee4d85a13c8d32b97563c19d @markstory markstory committed Sep 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Utility/Debugger.php
@@ -670,6 +670,7 @@ public function outputError($data) {
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;

0 comments on commit dff4574

Please sign in to comment.