Strip unnecessary details in error logs #4483
Labels
b:1.8
Branch: 1.8.x
s:confirmed
Status: Confirmed. Retested and found the issue exists
t:enhancement
Type: Enhancement. Contains minor improvements
t:regression
Type: Regression. Degraded functionality after update
The error logs may contain entries unrelated to problem origins.
The function added via Add separate callback function for
set_error_handler()
#4440 results in an additional call (internal to the error handler) logged as:The
$strip
argument in calls toerrorHandler:generate_backtrace()
within the class should be adjusted so that the first entry references the path and line number of a point of interest:The
errorHandler::email_error()
method calls thedebug_print_backtrace()
function directly, which may include unnecessary entries, and additionally include arguments values due to a missingDEBUG_BACKTRACE_IGNORE_ARGS
flag.cf.
mybb/inc/class_error.php
Line 752 in 89ba6fd
The text was updated successfully, but these errors were encountered: