summaryrefslogtreecommitdiff
path: root/scripts/statusnet.spec
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-17 09:07:44 -0800
committerBrion Vibber <brion@pobox.com>2009-11-17 09:07:44 -0800
commit3d6a55a49f298b83d4f0cdfe2f14ea201f45a565 (patch)
tree885624aa99bdeebaf125b15e037677d29fcd27aa /scripts/statusnet.spec
parent638df94f88fb4d401258feb26cc6511167d1d72e (diff)
Fix ticket 1816: Database errors recorded as "Array"
PEAR error backtrace lines are now correctly formatted as strings in debug log, roughly as debug_print_backtrace() does (but with argument values swapped out for types to avoid being overly verbose). Todo: exceptions and PEAR error objects should log backtraces the same way; right now it doesn't look like exceptions get backtraces logged. Todo: At one line per line, it's potentially tough to figure out what backtrace goes with what event if traffic is heavy; even if not heavy it's awkward to jump back into a log file after grepping to find the backtrace. Consider using a random per-event ID which can go in the log output -- bonus points for exposing the error ID to users so ops can track down actual error details in logs from a user report.
Diffstat (limited to 'scripts/statusnet.spec')
0 files changed, 0 insertions, 0 deletions