- catch (Throwable aEx) {
- logger.error("Failed to process request.", aEx);
- sendResponse(200, JsonRpcResponse.forError(
- new JsonRpcResponse.Error(JsonRpcResponse.Error.INTERNAL_ERROR,
- "An internal server error has occurred.", null), null), httpExchange);
- }
- });