extraInfoExtractor

i’m trying to use this with gatling 2.3 but find that:

extraInfoExtractor {
extraInfo =>
if(extraInfo.status != io.gatling.core.result.message.Status.valueOf(“OK”)) {
println(extraInfo.response)
}

does not work as io.gatling.core.result.message.Status is not a valid library in 2.3 any idea?