Modify

Opened 2 years ago

Closed 2 years ago

#10051 closed defect (duplicate)

Exception logging in XML-RPC and JSON-RPC is different

Reported by: barkerk Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: olemis 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)

Change History (1)

comment:1 Changed 2 years ago by olemis

  • Resolution set to duplicate
  • Status changed from new to closed

See #10052

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.