HOTFIX: ClassCastException in request logging
Author: Jason Gustafson
Reviewers: Colin P. Mccabe Ewen Cheslack-Postava
Closes from hachikuji/hotfix-request-logging
@@ -108,7 +108,7 @@ object RequestChannel extends Logging {
if (requestObj != null)
requestObj.describe(details)
else
- s"$header -- $body"
+ s"$header -- ${body[AbstractRequest]}"
}
def body[T <: AbstractRequest : ClassTag] = {
