Modify ↓
Opened 13 years ago
Closed 13 years ago
#10051 closed defect (duplicate)
Exception logging in XML-RPC and JSON-RPC is different
Reported by: | Karl | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Olemis Lang | Trac Release: | 0.12 |
Description
Exceptions raised in the XML-RPC component are logged in the send_rpc_error() method. The corresponding method in the JSON-RPC method does not include any logging.
This means that tracebacks are shown to the user, but don't exist in the logs, which is an issue for debugging.
I've attached a patch which simply adds a log.exception call to the JSON-RPC send_rpc_error method.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
See #10052