mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: Reformatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63937 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
db0644c985
commit
25a812c12f
@ -522,7 +522,10 @@ class Debug {
|
||||
*/
|
||||
static function get_rendered_backtrace($bt, $plainText = false) {
|
||||
// Ingore functions that are plumbing of the error handler
|
||||
$ignoredFunctions = array('DebugView->writeTrace', 'CliDebugView->writeTrace', 'Debug::emailError','Debug::warningHandler','Debug::fatalHandler','errorHandler','Debug::showError','Debug::backtrace', 'exceptionHandler');
|
||||
$ignoredFunctions = array('DebugView->writeTrace', 'CliDebugView->writeTrace',
|
||||
'Debug::emailError','Debug::warningHandler','Debug::fatalHandler','errorHandler','Debug::showError',
|
||||
'Debug::backtrace', 'exceptionHandler');
|
||||
|
||||
while( $bt && in_array(self::full_func_name($bt[0]), $ignoredFunctions) ) {
|
||||
array_shift($bt);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user