Skip to content

send exception message instead of "Server error" #71

@BlackZork

Description

@BlackZork

When RPC methods raises an exception there is always the same reply returned:

INFO jsonrpcclient.client.response: {"jsonrpc": "2.0", "error": {"code": -32000, "message": "Server error"}, "id": 2}

It would be great if 'message' could contain str(exception) that was thrown by called method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions