Exception logging in XML-RPC and JSON-RPC is different
|Reported by:||Karl||Owned by:||Odd Simon Simonsen|
|Cc:||Olemis Lang||Trac Release:||0.12|
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.