Exception logging in XML-RPC and JSON-RPC is different
|Reported by:||barkerk||Owned by:||osimons|
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.