Skip to content

Commit e2c5799

Browse files
author
Daniel Neto
committed
fix: Increase backtrace depth in TimeLogEnd for better debugging information
1 parent 1ab892e commit e2c5799

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

objects/functionsLogs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function TimeLogEnd($name, $line, $TimeLogLimit = 0.7)
4040
}
4141
if ($total_time > 2) {
4242
$type = AVideoLog::$ERROR;
43-
$backtrace = ' backtrace=' . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS));
43+
$backtrace = ' backtrace=' . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 20));
4444
}
4545

4646
if (!empty($_SERVER['HTTP_USER_AGENT'])) {

0 commit comments

Comments
 (0)