Homec4science

errorlib: improved printing of exceptions/errors

Authored by Tibor Simko <tibor.simko@cern.ch> on Mar 1 2009, 21:51.

Description

errorlib: improved printing of exceptions/errors

  • During register_exception(), print also the values of local variables in the stack trace.
  • Do not print very long dynamic variable values (such as prefix) as such, but truncate them to maximum 500 characters only. This fixes voluminous bibrank math exception emails.
  • When sending error messages via /error/send, escape all form template variables properly.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Mar 2 2009, 16:48
Parents
R3600:f882fbdccc90: WebSearch: enhanced author page journal box
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:f8dee85c59a4: errorlib: improved printing of exceptions/errors (authored by Tibor Simko <tibor.simko@cern.ch>).Mar 2 2009, 16:48