Make sure to check if `response` and `response.feature` exists before you start accessing it.