HOTFIX: ClassCastException in Request error logging
Fixed ClassCastException resulting from missing type hint in request logging.
Author: Armin Braun
Reviewers: Jason Gustafson
Closes from original-brownbear/fix-logging-err-response
@@ -117,7 +117,7 @@ class KafkaApis(val requestChannel: RequestChannel,
else
requestChannel.sendResponse(new Response(request, response))
- error("Error when handling request %s".format(request.body), e)
+ error("Error when handling request %s".format(request.body[AbstractRequest]), e)
}
} finally
request.apiLocalCompleteTimeMs = time.milliseconds
