Skip to content

exception info #474

Closed Answered by nycholas
stefano-st asked this question in Q&A
Discussion options

You must be logged in to vote

@stefano-st This question passed overhead, sorry!

The exception raised will only show the stack trace of the error (the information mentioned) if the server is in debug mode, in another case, the information on the response will be the following attributes: code, message, and data. For example:

{
    'error': {
        'code': -32600,
        'data': {
            'message': "The method 'app.fn4' doesn't allow Notification Request object (without an 'id' member)"
        },
        'message': 'Invalid Request',
        'name': 'InvalidRequestError',
    },
    'id': None,
    'jsonrpc': '2.0',
}

Thank you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nycholas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants