Skip to content

Add missing try catch block for transport send #4

Open
@e5l

Description

@e5l

Describe the bug

private suspend fun onRequest(request: JSONRPCRequest) {
	….
	transport!!.send( JSONRPCResponse( id = [request.id](http://request.id/), error = JSONRPCError( ErrorCode.Defined.InternalError, message = cause.message ?: "Internal error", ) ) )
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions